IMechanicalDataModel#

class ansys.mechanical.stubs.v252.Ansys.ACT.Interfaces.Mechanical.IMechanicalDataModel#

Bases: object

Defines the data model of the Mechanical application.

Overview#

AnalysisById

AnalysisById method.

AnalysisByName

AnalysisByName method.

CurrentConsistentUnitFromQuantityName

CurrentConsistentUnitFromQuantityName method.

CurrentUnitFromQuantityName

Returns the current unit from a quantity name.

GetObjectById

GetObjectById method.

GetObjectsByName

GetObjectsByName method.

GetObjectsByType

GetObjectsByType method.

GetUserObjectById

Gets the user object based on the application id.

GetUserObjects

GetUserObjects method.

MeshDataByName

MeshDataByName method.

get_AnalysisList

get_AnalysisList method.

get_AnalysisNames

get_AnalysisNames method.

get_GeoData

get_GeoData method.

get_MeshDataNames

get_MeshDataNames method.

get_ObjectLocation

get_ObjectLocation method.

get_ObjectType

get_ObjectType method.

get_Parent

get_Parent method.

get_SupportedLocations

get_SupportedLocations method.

AnalysisList

AnalysisList property.

AnalysisNames

AnalysisNames property.

GeoData

GeoData property.

MeshDataNames

MeshDataNames property.

ObjectLocation

ObjectLocation property.

ObjectTags

Gets the ObjectTags object for the Data Model, which represents the current list of tags visable in the User Interface.

ObjectType

ObjectType property.

Parent

Parent property.

Project

Gets the project object. Main object of the tree of Mechanical.

SupportedLocations

SupportedLocations property.

Tree

Gets the tree of Mechanical.

Property detail#

property IMechanicalDataModel.AnalysisList: List[Ansys.ACT.Interfaces.Analysis.IAnalysis] | None#

AnalysisList property.

property IMechanicalDataModel.AnalysisNames: List[str] | None#

AnalysisNames property.

property IMechanicalDataModel.GeoData: Ansys.ACT.Interfaces.Geometry.IGeoData | None#

GeoData property.

property IMechanicalDataModel.MeshDataNames: List[str] | None#

MeshDataNames property.

property IMechanicalDataModel.ObjectLocation: Ansys.ACT.Interfaces.UserObject.ObjectLocationEnum | None#

ObjectLocation property.

property IMechanicalDataModel.ObjectTags: Ansys.Mechanical.Application.ObjectTags | None#

Gets the ObjectTags object for the Data Model, which represents the current list of tags visable in the User Interface.

property IMechanicalDataModel.ObjectType: Ansys.ACT.Interfaces.UserObject.ObjectTypeEnum | None#

ObjectType property.

property IMechanicalDataModel.Parent: Ansys.ACT.Interfaces.DataModel.IDataModelObject | None#

Parent property.

property IMechanicalDataModel.Project: Ansys.ACT.Automation.Mechanical.Project | None#

Gets the project object. Main object of the tree of Mechanical.

property IMechanicalDataModel.SupportedLocations: Ansys.ACT.Interfaces.UserObject.ObjectLocationEnum | None#

SupportedLocations property.

property IMechanicalDataModel.Tree: Ansys.ACT.Automation.Mechanical.Tree | None#

Gets the tree of Mechanical.

Method detail#

IMechanicalDataModel.AnalysisById(id: int) Ansys.ACT.Interfaces.Analysis.IAnalysis#

AnalysisById method.

IMechanicalDataModel.AnalysisByName(name: str) Ansys.ACT.Interfaces.Analysis.IAnalysis#

AnalysisByName method.

IMechanicalDataModel.CurrentConsistentUnitFromQuantityName(quantityName: str) str#

CurrentConsistentUnitFromQuantityName method.

IMechanicalDataModel.CurrentUnitFromQuantityName(quantityName: str) str#

Returns the current unit from a quantity name.

IMechanicalDataModel.GetObjectById(id: int) Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

GetObjectById method.

IMechanicalDataModel.GetObjectsByName(name: str) List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]#

GetObjectsByName method.

IMechanicalDataModel.GetObjectsByType(type: IMechanicalDataModel.GetObjectsByType.type) List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]#

GetObjectsByType method.

IMechanicalDataModel.GetUserObjectById(id: int) Ansys.ACT.Interfaces.UserObject.IUserObject#

Gets the user object based on the application id.

IMechanicalDataModel.GetUserObjects(extNameOrGUID: str) Iterable[Ansys.ACT.Interfaces.UserObject.IUserObject]#

GetUserObjects method.

IMechanicalDataModel.MeshDataByName(name: str) Ansys.ACT.Interfaces.Mesh.IMeshData#

MeshDataByName method.

IMechanicalDataModel.get_AnalysisList() List[Ansys.ACT.Interfaces.Analysis.IAnalysis]#

get_AnalysisList method.

IMechanicalDataModel.get_AnalysisNames() List[str]#

get_AnalysisNames method.

IMechanicalDataModel.get_GeoData() Ansys.ACT.Interfaces.Geometry.IGeoData#

get_GeoData method.

IMechanicalDataModel.get_MeshDataNames() List[str]#

get_MeshDataNames method.

IMechanicalDataModel.get_ObjectLocation() Ansys.ACT.Interfaces.UserObject.ObjectLocationEnum#

get_ObjectLocation method.

IMechanicalDataModel.get_ObjectType() Ansys.ACT.Interfaces.UserObject.ObjectTypeEnum#

get_ObjectType method.

IMechanicalDataModel.get_Parent() Ansys.ACT.Interfaces.DataModel.IDataModelObject#

get_Parent method.

IMechanicalDataModel.get_SupportedLocations() Ansys.ACT.Interfaces.UserObject.ObjectLocationEnum#

get_SupportedLocations method.