MechanicalDataModel#

class ansys.mechanical.stubs.v261.Ansys.ACT.Mechanical.MechanicalDataModel#

Bases: object

Overview#

AddSessionVariable

AddSessionVariable method.

AnalysisById

See for general information about this method.

AnalysisByName

AnalysisByName method.

AreEqual

AreEqual method.

CleanUp

CleanUp method.

ComponentById

ComponentById method.

CoordinateSystemById

CoordinateSystemById method.

CreateChild

CreateChild method.

CreateObjRef

CreateObjRef method.

CreateObject

CreateObject method.

CreateObjectCommand

CreateObjectCommand method.

CurrentConsistentUnitFromQuantityName

CurrentConsistentUnitFromQuantityName method.

CurrentUnitFromQuantityName

CurrentUnitFromQuantityName method.

Delete

Delete method.

DeleteSessionVariable

DeleteSessionVariable method.

DummyNodeRemoveAndFillObjects

DummyNodeRemoveAndFillObjects method.

Equals

Equals method.

GetHashCode

GetHashCode method.

GetLifetimeService

GetLifetimeService method.

GetObjectById

GetObjectById method.

GetObjectsByName

GetObjectsByName method.

GetObjectsByType

GetObjectsByType method.

GetSessionVariableValue

GetSessionVariableValue method.

GetType

GetType method.

GetUserObjectById

GetUserObjectById method.

GetUserObjects

GetUserObjects method.

InitializeLifetimeService

InitializeLifetimeService method.

MeshDataByName

MeshDataByName method.

RecomputeState

Recomputes the states of the data model objects. Best used with data model changes made during callbacks in Python Code or Extensions.

Remove

Remove method.

ShouldSuspendStateEngineForDelete

ShouldSuspendStateEngineForDelete method.

Suppress

Suppress method.

ToString

ToString method.

Unsuppress

Unsuppress method.

AnalysisList

AnalysisList property.

AnalysisNames

AnalysisNames property.

Components

Components property.

CoordinateSystems

CoordinateSystems property.

DataModelObject

DataModelObject property.

EngineeringData

EngineeringData property.

GeoData

GeoData property.

InternalDataObjects

InternalDataObjects property.

InternalObject

InternalObject property.

MeshDataNames

MeshDataNames property.

ObjectIdentifier

ObjectIdentifier property.

ObjectLocation

ObjectLocation property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Project

Project property.

Tree

Tree property.

WorkingDir

WorkingDir property.

Property detail#

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

AnalysisList property.

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

AnalysisNames property.

property MechanicalDataModel.Components: List[Ansys.ACT.Interfaces.Mechanical.IMechanicalSelectionInfo] | None#

Components property.

property MechanicalDataModel.CoordinateSystems: Iterable[Ansys.ACT.Interfaces.Analysis.ICoordinateSystem] | None#

CoordinateSystems property.

property MechanicalDataModel.DataModelObject: Ansys.ACT.Interfaces.DataModel.IDataModelObject | None#

DataModelObject property.

property MechanicalDataModel.EngineeringData: Any | None#

EngineeringData property.

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

GeoData property.

property MechanicalDataModel.InternalDataObjects: List[Any] | None#

InternalDataObjects property.

property MechanicalDataModel.InternalObject: Any | None#

InternalObject property.

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

MeshDataNames property.

property MechanicalDataModel.ObjectIdentifier: Ansys.ACT.Core.Application.Model.ObjectIdentifier | None#

ObjectIdentifier property.

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

ObjectLocation property.

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

ObjectTags property.

property MechanicalDataModel.Parent: Ansys.ACT.Core.Application.Model.IApplicationObject | None#

Parent property.

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

Project property.

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

Tree property.

property MechanicalDataModel.WorkingDir: str | None#

WorkingDir property.

Method detail#

MechanicalDataModel.AddSessionVariable(varName: str, value: str) None#

AddSessionVariable method.

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

See for general information about this method.

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

AnalysisByName method.

MechanicalDataModel.AreEqual(other: Ansys.ACT.Core.Application.Model.IApplicationObject) bool#

AreEqual method.

MechanicalDataModel.CleanUp() None#

CleanUp method.

MechanicalDataModel.ComponentById(id: int) Ansys.ACT.Interfaces.Mechanical.IMechanicalSelectionInfo#

ComponentById method.

MechanicalDataModel.CoordinateSystemById(id: int) Ansys.ACT.Interfaces.Analysis.ICoordinateSystem#

CoordinateSystemById method.

MechanicalDataModel.CreateChild(objName: str, ext: Ansys.ACT.Interfaces.Common.IExtension, parentObj: Any) Ansys.ACT.Interfaces.UserObject.IUserObject#

CreateChild method.

MechanicalDataModel.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

MechanicalDataModel.CreateObject(objName: str) Ansys.ACT.Interfaces.UserObject.IUserObject#

CreateObject method.

MechanicalDataModel.CreateObjectCommand(userObject: Ansys.ACT.Interfaces.UserObject.IUserObject) Ansys.Common.Interop.DSWBApplet.IDSAppCommand#

CreateObjectCommand method.

MechanicalDataModel.CurrentConsistentUnitFromQuantityName(quantityName: str) str#

CurrentConsistentUnitFromQuantityName method.

MechanicalDataModel.CurrentUnitFromQuantityName(quantityName: str) str#

CurrentUnitFromQuantityName method.

MechanicalDataModel.Delete(objsToDelete: Ansys.Common.Interop.AnsCoreObjects.AnsVARIANTColl) bool#

Delete method.

MechanicalDataModel.DeleteSessionVariable(varName: str) None#

DeleteSessionVariable method.

MechanicalDataModel.DummyNodeRemoveAndFillObjects(classId: Ansys.Common.Interop.DSObjectTypes.DSClsId) None#

DummyNodeRemoveAndFillObjects method.

MechanicalDataModel.Equals(obj: Any) bool#

Equals method.

MechanicalDataModel.GetHashCode() int#

GetHashCode method.

MechanicalDataModel.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectById method.

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

GetObjectsByName method.

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

GetObjectsByType method.

MechanicalDataModel.GetSessionVariableValue(varName: str) str#

GetSessionVariableValue method.

MechanicalDataModel.GetType() type#

GetType method.

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

GetUserObjectById method.

MechanicalDataModel.GetUserObjects(ext: Ansys.ACT.Interfaces.Common.IExtension) Iterable[Ansys.ACT.Interfaces.UserObject.IUserObject]#

GetUserObjects method.

MechanicalDataModel.InitializeLifetimeService() Any#

InitializeLifetimeService method.

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

MeshDataByName method.

MechanicalDataModel.RecomputeState() None#

Recomputes the states of the data model objects. Best used with data model changes made during callbacks in Python Code or Extensions.

MechanicalDataModel.Remove(dataModelObjects: Iterable[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) None#

Remove method.

MechanicalDataModel.ShouldSuspendStateEngineForDelete() bool#

ShouldSuspendStateEngineForDelete method.

MechanicalDataModel.Suppress(dataModelObjects: Iterable[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) None#

Suppress method.

MechanicalDataModel.ToString() str#

ToString method.

MechanicalDataModel.Unsuppress(dataModelObjects: Iterable[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) None#

Unsuppress method.