今天心情好!.....无需多说,直接上程序:

- ;一句搞定的常用程序——【KAIXIN】分享
- ;旋转1度:
- (vl-cmdf "rotate" (ssget) "" (getpoint "\n选择基点:") 1)
- ;旋转复制1度
- (vl-cmdf "copy" (setq ww (ssget)) "" '(0 0) '(0 0)
- "rotate" ww "" (getpoint "\n请选择基点:") 1)
- ;改颜色,改线型
- (vl-cmdf "Chprop" (ssget) "" "c" "red" "")
- (vl-cmdf "Chprop" (ssget) "" "LT" "continuous" "")
- ;标注前后加字
- (vl-cmdf "DIMLINEAR" (getpoint) (getpoint) "m" "%%C<>")加字
该贴已经同步到 【KAIXIN】的微博 |