 - (command "_.ucs" "");;--------
- (if SS
- (repeat (sslength SS)
- (setq E (ssname SS I))
- (setq
- LEN (vlax-curve-getdistatparam E (vlax-curve-getendparam E))
- )
- (if N
- (setq D (/ LEN N)
- M N
- )
- (setq M (1+ (fix (/ LEN D))))
- )
- (repeat (1- M)
- (if (setq PT (vlax-curve-getpointatdist E D))
- (vl-cmdf ".break" (list E PT) PT)
- )
- (setq E (entlast))
- )
- (setq I (1+ I))
- )
- )
- (command "_.ucs" "p");;--------
|