TAGGED: ansys-workbench, automation, geometry
-
-
February 8, 2024 at 6:30 pmJett22Subscriber
Hello
Does anyone know the python script macro which changes the directory name of a system on ANSYS workbench via command line. For example, the selected geometry/mesh system in the image below has a directory name ID of "SYS". Is there a way I can change this to a different name such as "Rotor". This will streamline an automation process I am working on.
Thank you
Jett
-
February 9, 2024 at 9:53 amAniketForum Moderator
The directory name is read-only. You can not change it with the script. You can change the DisplayText to whatever you want.
To understand how display text is changed, try recording a journal and see the APIs there.
https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v241/en/wb2_help/wb2h_usingjands.html
-Aniket
-
February 18, 2024 at 5:13 amJett22Subscriber
Thank you!
-
- The topic ‘Changing Geometry directory name’ is closed to new replies.
-
1882
-
802
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.