Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General

General

How to merge named selections by script in SCDM

    • SolutionSolution
      Participant

      Manually in the GUI, we can select multiple named selections in the group panel, right-click on them and select ‘Merge’. This feature is not available by script but we can get the same results by two approaches. 1) Delete / Create We can collect the members of the named selections, delete the named selections and create a new named selection with all members. 2) Replace We can replace the members of the named selection by a new selection. An example of each approach is provided in attachment. The script can be run on the .scdoc for demonstration.

      Attachments:
      1. 2058427.zip