IDataModelObject#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Bases: object

Overview#

GetPath

Gets the path of the object.

DataModelObjectCategory

Gets the name of the current DataModelObject's category.

Name

Gets the name of the object.

ObjectId

Gets the internal id of the object.

ObjectTags

Gets an IEnumerable object of the tags that 'this' is a part of.

Parent

Gets the parent object.

Property detail#

property IDataModelObject.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the name of the current DataModelObject's category.

property IDataModelObject.Name: str | None#

Gets the name of the object.

property IDataModelObject.ObjectId: int | None#

Gets the internal id of the object.

property IDataModelObject.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

Gets an IEnumerable object of the tags that 'this' is a part of.

property IDataModelObject.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Gets the parent object.

Method detail#

IDataModelObject.GetPath() str#

Gets the path of the object.