 - (defun c:tt ()
- (if (not (tblsearch "layer" "DIM"))
- (command "-layer" "m" "DIM" "c" "3" "" "")
- )
- (if (setq ss (ssget))
- (progn
- (setq ssx (ssget "x"))
- (command "select" ssx "r" ss "")
- (setq ss1 (ssget "p"))
- (command "chprop" ss1 "" "la" "DIM" "")
- )
- )
- (princ)
- )
|