 - ;;;************************Z坐标归0
- (defun h-gc1 (/ SS)
- (command "._ucs" "_W") ;世界坐标系
- (setq ss (ssget))
- ;;Z坐标归零,主要是地形线的影响,所以这一个很重要
- (if ss
- (vl-cmdf ".MOVE" ss "" "0,0,0"
- "0,0,1000e99" ".MOVE" "P"
- "" "0,0,1000e99" "0,0,0"
- )
- )
- (princ)
- )
- ;;;************************Z坐标归0;;;************************Z坐标归
|