Get references to a Connector in a python script

Alberto_Ingeniacity
Alberto_Ingeniacity Altair Community Member

I'm trying to get the references to a connector in a python script. I can do it in Hypermesh's GUI, simply righ-click on the connector in the connector browser and select references from the pop-up.

Is there a way to do the same from a script in python?

I have tried to use hm_getcrossreferencedentities but I get nothing in return. I'm calling it like: model.hm_getcrossreferencedentities(conn, 7, col_set) where type(conn) is hm.mdi.entities.Connector and type(col_set) is a hwdescriptor.CollectionSet.

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.