I have a named selection called FinSurface, however, I would like to subtract symmetry surfaces (which is another named selection) from FinSurface.
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())