ACAD LT 2004 macro problem

Discussion in 'AutoCAD' started by Tim Skene, Jul 27, 2003.

  1. Tim Skene

    Tim Skene Guest

    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
     
    Tim Skene, Jul 27, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.