dimension macro

Mark Glenn

Usenet Archive
Joined
Feb 17, 2001
Messages
3
Reaction score
0
im trying to run a macro under the linear dimension icon, where when i click the dim icon it switches to the dimension layer to do the dimensioning, then when im done it will go back automatically to the layer i was on....
 
Try this
^C^CDIMBLK;.;(setq poplayer (getvar "clayer"));(setvar "clayer" "dim");_dimlinear;\\\(setvar "clayer" poplayer);

watch the word wrap as a space will fool autocad into a carraige return. Replace "dim" with whatever you call your dimensioning layer and be sure it is enclosed in quotes.
 

Member Recommended

Latest threads

Back
Top