|
;; Form www.xdcad.net eachy 2005.9.21
;;获取LightweightPolyline Polyline顶点
;;返回值: 顶点列表
(defun getplvertex (e / n i ptl)
(setq n (1+ (fix (vlax-curve-getendparam e)))
i -1
)
(repeat n
(setq ptl (cons (vlax-curve-getpointatparam e (setq i (1+ i))) ptl))
)
(reverse ptl)
)
|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )
GMT+8, 2024-5-13 04:39 , Processed in 0.136481 second(s), 23 queries , Gzip On.
Powered by Discuz! X3.5
© 2001-2024 Discuz! Team.