General Mechanical

General Mechanical

Running Mechanical macro in Workbench Scope

    • rodmarti
      Subscriber

      Hello everyone,


      I'm having a problem for a couple of days now.


      I successively wrote a script in Mechanical. It will be part of a optimization algorithm that I am running outside of Ansys.   


       I am having trouble to access the script that I built outside in of mechanical (for exemple in Workbench). After using those commands to open Mechanical, the commands that I used in Mechanical are not valid in IronPython scope.


       Does anyone knows how to use the Mechanical macros in Workbench? 


       

    • Aniket
      Ansys Employee
    • rodmarti
      Subscriber

      It worked!


      Thanks a lot Aniket!!!


       


      Have a great week. =)

Viewing 2 reply threads
  • You must be logged in to reply to this topic.