The basic engine could look like this:
Code:(setq ss nil) (while (or (not ss) (> (sslength ss) 1)) (princ "\nSelect 1 PLINE") (setq ss (ssget '((0 . "*POLYLINE"))))) (command "_.AREA" "_E" (ssname ss 0)) (princ (strcat "\nPline Length = " (rtos (getvar "PERIMETER")) "\n"))
-David



How to use LISP to get the curve length of a polyline which already smoothed by the command "PEDIT" "FIT". Thank you
Reply With Quote




Bookmarks