I need to make a new macro to type ALL , and enter , as I need to select all .
I try with
alsoCode:all " "
andCode:all ";"
and any work.Code:all ;
|
I need to make a new macro to type ALL , and enter , as I need to select all .
I try with
alsoCode:all " "
andCode:all ";"
and any work.Code:all ;
There is no ALL command listed in help
From AutoCAD help: http://help.autodesk.com/view/ACD/20...A-BEAEBA83A424
About Special Control Characters in Command Macros
Both the space or semicolon issues Enter, but quotes are not listed as doing anything.
Ctrl+A has always been the Keyboard Shortcut to select All. To put it in a macro use "_ai_selall" without the quotes.
I need the macro , to type ALL , or A, and ENTER after any command who ask to select, like: move, copy, erase and so on.
I will try with _ai_selectall
Hope it work.
It do not work.Command: _erase
Select objects: _ai_selectall
*Invalid selection*
Last edited by devitg.89838; 2019-07-09 at 12:57 AM.
If it cannot be done at the command line it cannot be done in a macro.
While you cannot use Ctrl+A while the ERASE command is prompting to select objects you can use Ctrl+A before starting the ERASE command to erase everything.
Testing in AutoCAD 2018, I was able to get this to work
18AC_EraseAllMacro.pngCode:^C^CERASE All ;
and if you just need to select and then choose your own command Tom's suggestion works here too, just check your spelling
Code:^C^C_ai_selall;
Last edited by matt.worland; 2019-07-09 at 02:13 PM.
matt worland
Last edited by devitg.89838; 2019-07-09 at 03:13 PM.
Good catch, I realized the Select All macro in my CUI worked for commands like ERASE or without any active commands. It was just slow since it was selecting a few thousand entities.
Display name: All
Name: Select All
Macro:Small image: RCDATA_16_SELALLCode:$M=$(if,$(getvar,cmdactive),_all,^P_ai_selall ^P)
Large image: RCDATA_32_SELALL
Cannot remember, but since the Icon images were built in to AutoCAD "Select All" may already be in your CUI, just search commands for it.