ACAD LT 2004 macro problem

Tim Skene

Usenet Archive
Joined
Apr 21, 2000
Messages
17
Reaction score
0
This menu macro in ACAD LT 2004 lets me select lines or plines and set their width to zero. It saves the current value of peditaccept in the variable paccept, then sets it to 1 so lines are converted. However the value of paccept keeps its previous value, not what was just set in the macro.

I have another similar one which saves a value and restores it as expected. Anyone have an idea what's going on?

^C^C^Pselect;$M=$(if,$(getvar,cmdactive),\)setenv;paccept;$M=$(getvar,pedita ccept);peditaccept;1;pedit;m;p;;width 0 peditaccept $M=$(getenv,paccept);

Tim Skene
 

Latest threads

Back
Top