Gets a list of all objects exactly matching the specified type. This explicitly excludes objects that have
a parent class matching the specified type. For example, providing the argument
Ansys.ACT.Automation.Mechanical.Connections.ConnectionGroup will only
match objects of type . All other derived class objects will be excluded,
such as , , and
.
Compare to which returns all objects of the specified type along with
their derivative types.
The following command retrieves only the objects in the DataModel.
only_thermal_conditions = ExtAPI.DataModel.GetObjectByExactType(Ansys.ACT.Automation.Mechanical.BoundaryConditions.ThermalCondition)
Examples