Bobin John
Bobin John Member Posts: 8
First Comment
edited June 2023 in 3D Design

I have created a named Selection as part of the scripting in SpaceClaim However, I want to append another surface into that same-named Selection. How can I script that? Unfortunately, when using the record button to add, it did not script for me.

Best Answer


  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 240
    First Anniversary First Comment 5 Likes Ansys Employee
    NewItems = list(Selection.GetActive().Items)
    AllItems = CurrentItems+NewItems
    NamedSelection.Replace(GroupName, Selection.Create(AllItems), Selection.Empty())