ImportedObject#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.ImportedObject(obj: Any, externalModelDataCollObj: Ansys.ACT.Automation.Mechanical.ExternalModelDataColl)#

Bases: object

Defines a row object in Imported Objects.

Overview#

Equals

Equals method.

GetHashCode

GetHashCode method.

GetPromotedObject

Get the promoted row object

GetPropertyNames

This method gives the complete list of property names that are supported.

GetPropertyValue

Get the data for a given property name

GetPropertyValueAsString

Data in string format that is present on the columns

GetType

GetType method.

SetPropertyValue

Set the data for a given property name

ToString

ToString method.

Active

This property sets the object to active or inactive status

InternalObject

Gets the internal object. For advanced usage only.

Property detail#

property ImportedObject.Active: bool | None#

This property sets the object to active or inactive status

property ImportedObject.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSWorksheetRowDataAuto | None#

Gets the internal object. For advanced usage only.

Method detail#

ImportedObject.Equals(obj: Any) bool#

Equals method.

ImportedObject.GetHashCode() int#

GetHashCode method.

ImportedObject.GetPromotedObject(oPromoteOption: Any) Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Get the promoted row object

ImportedObject.GetPropertyNames() Iterable[str]#

This method gives the complete list of property names that are supported.

ImportedObject.GetPropertyValue(name: str) Any#

Get the data for a given property name

ImportedObject.GetPropertyValueAsString(name: str) str#

Data in string format that is present on the columns

ImportedObject.GetType() type#

GetType method.

ImportedObject.SetPropertyValue(name: str, value: Any) None#

Set the data for a given property name

ImportedObject.ToString() str#

ToString method.