
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have some drawings where the dimensions have been exploded and i am trying to build a lisp where i can rebuild them. What is would like to be able to do is pick all the exploded lines and arrows to be removed. Then pick the text to be removed. Then pick the new extension line origins, then place the final location for my new dimension (dimalign) and have the text replace with the dimension replaced with the text i erased from the old exploded dimension. Can anyone help me modify what I have below to make this work? thx
(defun c:D11 (/ lead)
(command "_.LAYER" "_new" "DIM" "")
(command "_.layer" "_color" "6" "DIM" "")
(setvar "clayer" "dim")
(command "dimstyle" "r" "AA DIM I")
(setvar 'osmode 759)
(setq lead (ssget))
(command "__dimlinear" "\\" "\\" "\\")
(command "erase" lead "")
(princ)
)
Solved! Go to Solution.