Selection set

Selection set

Automohan
Advocate Advocate
862 Views
2 Replies
Message 1 of 3

Selection set

Automohan
Advocate
Advocate

Selection Set.jpg

When I Load selection 3 times I didn't change anything in AutoCAD but why these Selection set "names" are changing......

"Save Energy"
Did you find this reply helpful? If so please use the Accept as Solution
0 Likes
863 Views
2 Replies
Replies (2)
Message 2 of 3

dlanorh
Advisor
Advisor

@Automohan wrote:

Selection Set.jpg

When I Load selection 3 times I didn't change anything in AutoCAD but why these Selection set "names" are changing......


If you run it three times you'll get three different selection sets. AutoCAD doesn't know they're all the same.

I am not one of the robots you're looking for

Message 3 of 3

Ajilal.Vijayan
Advisor
Advisor

For each time when you load this code, AutoCAD creates a new selection set with an unique id.

The id will change each time for the selection, but you can refer to your local variable 'sel1' to get the selection.