IMechanicalDataModel
Last update: 14.01.2025
IMechanicalDataModel
class Ansys.ACT.Interfaces.Mechanical.IMechanicalDataModel
Bases: object
Defines the data model of the Mechanical application.
Overview
Methods
Name | Description |
---|---|
CurrentUnitFromQuantityName |
Returns the current unit from a quantity name. |
GetUserObjectById |
Gets the user object based on the application id. |
Properties
Name | Description |
---|---|
ObjectTags |
Gets the ObjectTags object for the Data Model, which represents the current list of tags visable in the User Interface. |
Project |
Gets the project object. Main object of the tree of Mechanical. |
Tree |
Gets the tree of Mechanical. |
Property detail
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.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.
Method detail
IMechanicalDataModel.CurrentUnitFromQuantityName(quantityName: str)
Returns the current unit from a quantity name.
IMechanicalDataModel.GetUserObjectById(id: int)
Gets the user object based on the application id.