The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
In HyperView,I have 2 Element set, named "Elems_A" & "Elems_B".
I want get elems which in Elems_A but not in "Elems_B". and save as a set "Elems_C"
How can i do ?
Hi, Xinxing_Zhang,
When creating a set in HyperView, you can choose the Entity IDs > Extended Entity Selection
You can play with the selection options, like select Set_A and subtract Set_B. Or, you could query both sets using Table, remove the undesired IDs and create a new set using the remain ids, by using the Entity IDs > Extended Entity Selection > By ID
Regards,
Arthur
Thanks almeidaaap
The Operation In HyperView Panel& Browsers in very clear.
A key point i forgot to mention is , I need to do those operation by Tcl Code for Automation.
Anytime!
I would recommend to check this Playlist that we created: HyperWorks post-processing Tcl Automation
Perform the operations manually, and check the HWC console, from there you will be able to check the main commands to start the scripting.
Also, depending the version you are working with, Python API could be better, as it's more straightforward. Here is the link to the Python API help: Entity Selection — HyperMesh Python API 2026.0 documentation