Handling Model Transfer of Custom ACT Tree objects (updating upstream / combining models)

Nick Ramseyer
Nick Ramseyer Member Posts: 25
10 Comments Name Dropper
**

Hello!

I am currently building an ACT extension and would like to transfer my custom tree object to an upstream model from a "Mechanical Model". Essentially my Workbench session looks like this: (with a mechanical model transferring to a Modal analysis).

In the Mechanical model I have created a custom ACT extension that adds an object to the Mechanical Tree.

When I update the object into the upstream modal analysis, I was expecting it to transfer the custom object like it does with other connections etc. However it looks like the upstream model did not understand what the object was and did not transfer it.

So, my question / discussion is, is there a way to interact with the transferring of the object to the upstream system to get it to send the data? I image there are several problems here as the upstream model will potentially re-number geometries, adds folders containing the downstream objects, and must handle any future changes to the lower model.

So, is there a "callback" or other way developers can manipulate how these objects get updated upstream? An example of when this is needed is when working with several models and trying to combine them the data of the custom objects is lost.

If you "add" a system to the original mechanical model it will directly transfer the engineering data, geometry, and model information. However, this won't work for combining multiple Mechanical models together.

Any suggestions or insights would be welcome. If it isn't possible to do this in ANSYS ACT that would also be very helpful to know.

Tagged:

Comments

  • Landon Mitchell Kanner
    Landon Mitchell Kanner Member, Employee, GitHub-issue-creator Posts: 315
    50 Answers 100 Comments Second Anniversary 25 Likes
    ✭✭✭✭

    Interesting request @Nick Ramseyer. I think you can write your own code to do this using the OnInit callback in either the object or interface tags. If you get something working, please share it :smile: