IMechanicalDataModel#

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

Bases: object

Defines the data model of the Mechanical application.

Overview#

CurrentUnitFromQuantityName

Returns the current unit from a quantity name.

GetUserObjectById

Gets the user object based on the application id.

Project

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

Tree

Gets the tree of Mechanical.

ObjectTags

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

Property detail#

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

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

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

Gets the tree of Mechanical.

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.

Method detail#

IMechanicalDataModel.CurrentUnitFromQuantityName(quantityName: System.String) System.String

Returns the current unit from a quantity name.

IMechanicalDataModel.GetUserObjectById(id: System.Int32) Ansys.ACT.Interfaces.UserObject.IUserObject

Gets the user object based on the application id.