Message 1 of 6
Recognizing existence of a selectionset

Not applicable
03-01-2008
03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I detect if a selectionset with a special name exist.
I want to run the commands:
Dim sset As AcadSelectionSet
Set sset = ThisDrawing.SelectionSets.Add("SS1")
but maybe,for some reason the selectionset with name "SS1" already exist in the drawing, therefore an error occurs.
any help is appreciated
I want to run the commands:
Dim sset As AcadSelectionSet
Set sset = ThisDrawing.SelectionSets.Add("SS1")
but maybe,for some reason the selectionset with name "SS1" already exist in the drawing, therefore an error occurs.
any help is appreciated