
- ;; 需要e派工具箱(XCAD)的支持:[url]http://yunpan.cn/QXQKsW9gAPmpF[/url];; 道路线
- (defun c:tt ()
- (xyp-JZXX "CENTER" "ACADISO")
- (setvar 'celtype "continuous")
- (setq dist (Udist 1 "" "道路宽度<输入或鼠标直接量取>" dist nil))
- (command "spline")
- (while (/= (getvar 'cmdactive) 0)
- (command pause)
- )
- (setq s1 (entlast))
- (xyp-Offset s1 (* dist 0.5) t t nil)
- (xyp-SubUpd s1 6 "CENTER")
- (princ)
- )
|