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