ILoveMadoka 发表于 2022-7-6 12:22:33

I do not know how it was in previous versions, but in 2010 does not happen,
ie (setq ss1 (ssget)) works, but the Select Objects: ss1 - no, writes *Invalid selection*
 
 
(Assuming SS1 has been created...)
 
It's not Select Objects: ss1
 
It's Select Objects: !ss1

alanjt 发表于 2022-7-6 12:28:39

I've updated my previous posting. Now if a command is inactive, it will select everything (for pickfirst) and if a command is active, it will store the chosen selection set as SSS (variable) and print to the command line as "!SSS ". The selection set will remain stored as SSS, which can be called at anytime with "!SSS".

BearDyugin 发表于 2022-7-6 12:31:09

 
Well, thank ILoveMadoka, I never could understand why I can not use variables in macros.
页: 1 [2]
查看完整版本: It’s possible AutoCad selectio