了解 gp:RedefinePolyBorder 函数 (AutoLISP)
以下伪代码显示了 main 函数背后的逻辑:gp:RedefinePolyBorder Function gp:RedefinePolyBorder Extract the previous polyline corner points (12, 13, 14, and 15 key values). Find the moved corner point by comparing the previous polyline corner points with the current corner points. (The one "misfit" point will be the point that moved.) Set the new corner points by recalculating the two points adjacent to the moved point. Update the new corner points in the reactor data (that will be stored back in the reactor for the modified polyline). Update other information in the reactor data. (Start point, endpoint, width, and length of path need to be recalculated.) End Function |
|Archiver|CAD开发者社区 ( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2024-12-15 12:53
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.