- (DEFUN c:FF1 (/ E EN EP LA N R SP SS)
- (VL-LOAD-COM)
- (IF (SETQ SS (SSGET "x" '((0 . "ARC"))))
- (REPEAT (SETQ N (SSLENGTH SS))
- (SETQ E (SSNAME SS (SETQ N (1- N))))
- (SETQ EN (ENTGET E))
- (SETQ R (CDR (ASSOC 40 EN)))
- (IF (> R 100000)
- (PROGN
- (SETQ LA (ASSOC 8 EN))
- (SETQ SP (vlax-curve-getStartPoint E))
- (SETQ EP (vlax-curve-getENDPoint E))
- (ENTDEL E)
- (ENTMAKE (LIST '(0 . "LINE") LA (CONS 10 SP) (CONS 11 EP)))
- )
- )
- (PRINC "\N FINISH...")
- )
- )
- (PRINC)
- )
|