Gets a list of all objects matching the specified type. This also includes objects that have a parent
class matching the specified type. For example, providing the argument
Ansys.ACT.Automation.Mechanical.Connections.ConnectionGroup will match
objects of type along with all objects of derived classes such as
, , and .
Compare to which only returns objects exactly matching the
specified type.
The following command retrieves all the ThermalConditions in the DataModel, including derived
objects like all_thermal_conditions = ExtAPI.DataModel.GetObjectsByType(Ansys.ACT.Automation.Mechanical.BoundaryConditions.ThermalCondition)
Examples