General Mechanical

General Mechanical

Topics relate to Mechanical Enterprise, Motion, Additive Print and more

Is there a better way to look up the ironpython script methods?

    • Zijun Zheng
      Subscriber

      I am learning ironpython scripting. Now I just record and check the wbjn file. I also downloaded the ACT_API_reference_Guide (2023), but I don't quite understand how the guide is organized. For example, I cannot find any comments about the method 'GetSystem()' in the book. 

      Is there a better way to learn what method is available for a certain datatype? 

    • Erik Kostson
      Ansys Employee

      Hi

      GetSystem() we need to pass the name of the system ID which we find under the system and Properties and General an System ID. 

      For an example see here:

      https://discuss.ansys.com/discussion/554/can-we-duplicate-a-system-from-within-mechanical

      All the best

      Erik

Viewing 1 reply thread
  • You must be logged in to reply to this topic.