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.
Preprocessing

Preprocessing

Topics related to geometry, meshing, and CAD.

Ansys Mechanical – Python Scripting – Access and input parameter

    • flahuerta
      Subscriber

      Regarding Ansys Mechanical, i was wondering if is possible to create an input parameter and call it back in the Ansys Mechanical Python scripting

      Let say, create a new input paramter like in the following image,

      How to call back this parameter in Python Scripting from Ansys Mechanical? 

      Model.GetParameter("NewParameter")  is not working

      How can I create a new Parameter via scripting?

       

       

    • Aniket Chavan
      Forum Moderator

      So you want to create the input parameter in the workbench page from the Mechanical level script, and later use it in Mechanical level script?

      -Aniket

      How to access Ansys help links

      Guidelines for Posting on Ansys Learning Forum

    • Dmitry Chechenev
      Subscriber

      Dear Aniket,

      I think flahuerta wants to read WB Parameters (Parameter Set) from Mechanical using scripting. Looks like GetParameter method is  not designed for that. Is there any other way parameters from WB can be read in Mechanical scripting? Thanks!

Viewing 2 reply threads
  • The topic ‘Ansys Mechanical – Python Scripting – Access and input parameter’ is closed to new replies.
[bingo_chatbox]