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 Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Changing Geometry directory name

    • Jett22
      Subscriber

      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

    • Aniket Chavan
      Forum 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

      Forum Rules & Guidelines

    • Jett22
      Subscriber

      Thank you!

Viewing 2 reply threads
  • The topic ‘Changing Geometry directory name’ is closed to new replies.
[bingo_chatbox]