| Name |
Description |
|
AnalysisById(Int32)
|
Returns the analysis object that matches the specified id.
|
|
AnalysisByName(String)
|
Returns the analysis object that matches the specified name.
|
|
CurrentConsistentUnitFromQuantityName(String)
|
Returns the consistent unit from a quantity name associated to the analysis.
|
|
CurrentUnitFromQuantityName(String)
|
Returns the current unit from a quantity name.
|
|
GetObjectById(Int32)
|
Returns the Mechanical object related to the provided ID.
|
|
GetObjectsByExactType(Type)
|
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)
|
|
GetObjectsByExactType(DataModelObjectCategory)
|
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)
|
|
GetObjectsByName(String)
|
Gets a list of all objects with the specified name.
|
|
GetObjectsByType(Type)
|
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)
|
|
GetObjectsByType(DataModelObjectCategory)
|
Gets a list of all objects matching the specified category. This also includes objects that have a parent
class matching the specified category. For example, providing the argument
will match the corresponding objects of type
along with all objects of derived classes such as
, , and .
Compare to which only returns objects exactly
matching the specified category.
The following command retrieves all the ThermalConditions in the DataModel, including derived
objects like all_thermal_conditions = ExtAPI.DataModel.GetObjectsByType(DataModelObjectCategory.ThermalCondition)
|
|
GetUserObjectById(Int32)
|
Gets the user object based on the application id.
|
|
GetUserObjects(String)
|
Gets the list of user objects for a given extension.
|
|
GetUserObjects(IExtension)
|
Gets the list of user objects for a given extension.
|
|
MeshDataByName(String)
|
Returns the mesh data model object associated to the specified name.
|