Skip to main content

Mechanical scripting interface

ImportedObject

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.ImportedObject

Bases: object

Defines a row object in Imported Objects.

Overview

Methods

Name Description
GetPropertyNames This method gives the complete list of property names that are supported.
GetPropertyValueAsString Data in string format that is present on the columns
SetPropertyValue Set the data for a give property name

Properties

Name Description
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.GetPropertyNames()

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

ImportedObject.GetPropertyValueAsString(name: str)

Data in string format that is present on the columns

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

Set the data for a give property name