Script for removing a named selection from another named selection
Bobin John
Member Posts: 8
**
I have a named selection called FinSurface, however, I would like to subtract symmetry surfaces (which is another named selection) from FinSurface.
Tagged:
0
Answers
-
This is a snippet to get the starting items in a group, add to them, then update the NS with the new items. This is for Spaceclaim/Discovery APIs
GroupName=<Your NS name> CurrentItems=list(Selection.CreateByGroups(GroupName).Items) NewItems = <Your new geom items> AllItems = CurrentItems+NewItems NamedSelection.Replace(GroupName, Selection.Create(AllItems), Selection.Empty())
1