- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I noticed that from 2003 there's a new special character available in macros, ^] that
Prompts the user to select objects, if no objects are already selected. The selected objects are assigned to the Previous selection set. Use the Previous selection option at the Select objects prompt to use the selected objects. Equivalent to ._SELECT;$M=$(if,$(eq,$(getvar,cmdnames),SELECT),\,)
from https://help.autodesk.com/view/OARX/2024/ENU/?guid=GUID-DDDB6E26-75E1-4643-8C6A-BEAEBA83A424
I'm trying to use in an old macro of mine that changes the selected objects to "byobject", with no success. The original needs to make a selection before the command:
^C^Cselect \change previous ;p;c;byblock;e;0;la;0;lt;byblock;s;1;lw;byblock;t;0;pl;byblock;;
How can I convert it to use ^] becoming able to use a previous selection OR a new one?
I tested different codes with no luck, suc as
^C^C_change;^]p;c;byblock;e;0;la;0;lt;byblock;s;1;lw;byblock;t;0;;
I don't even know if it requires a space or ; after. I can't find samples.
Thank you
Solved! Go to Solution.