Ansys Products

Ansys Products

Get a share/transfer connection in scripting

    • j.renault


      Is it possible to get the connections between the different boxes of a project in workbench (share and/or transfer connections) with a function or a property ?

      I aim to identify the boxes that need to be refresh and then updated after a change in a box that is located in precedding steps on the workflow (at the moment, the preceding box is an "External Model" where I read a *.cdb and the box I would like to identify is a "Mechanical Model").

      Thank you for your help.


    • Aniket
      Ansys Employee

      Assuming you know how to get components in a system, you can use the UpdateUpstreamComponents() function on last component to update all upstream dependencies right?


      template1 = GetTemplate(
      system1 = template1.CreateSystem()
      geometryComponent1 = system1.GetComponent(Name="Geometry")



      How to access Ansys help links

      Guidelines for Posting on Ansys Learning Forum


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