mleader macro help

mleader macro help

Anonymous
Not applicable
334 Views
1 Reply
Message 1 of 2

mleader macro help

Anonymous
Not applicable

I am trying to use a macro for mleaders, however AutoCAD is not returning the original layer. Can anyone tell me why? Here is the macro:

 

^C^C(setq current-layer (getvar "clayer"));-LAYER;M;G-TEXT;C;7;;;mleader \_TT;_INS;\\^C^C(setvar "CLAYER" current-layer)

0 Likes
335 Views
1 Reply
Reply (1)
Message 2 of 2

ВeekeeCZ
Consultant
Consultant

You cannot use LISP commands as macro (diesel) expression.

 

Try this 

 

^C^C-LAYER;N;G-TEXT;C;7;;;_mleader \_TT;_INS;\\\chprop;_L;;LA;G-TEXT;;
0 Likes