ImportedStresses#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.ImportedStresses(internalObject: Any)#

Bases: object

Defines a ImportedStresses.

Overview#

Activate

Activate the current object.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

CopyTo

Copies all visible properties from this object to another.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetEnumerator

GetEnumerator method.

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObject

Get the row object

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

Promote

Promote method.

PromoteAll

Promote the rows

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RemoveParameter

Removes the parameter from the parameter set corresponding to the given property.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

Count

Gets the NumberOfRows.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

InternalObject

Gets the internal object. For advanced usage only.

Item

Item property.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

PropertyCount

Gets the NumberOfColumns.

ReadOnly

Gets or sets the ReadOnly.

State

State property.

Suppressed

Gets or sets the Suppressed.

TransferableObjectId

TransferableObjectId property.

VisibleProperties

Gets the list of properties that are visible for this object.

Property detail#

property ImportedStresses.AttachedRefs: List[int] | None#

AttachedRefs property.

property ImportedStresses.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property ImportedStresses.ClsId: int | None#

ClsId property.

property ImportedStresses.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#

Gets the list of associated comments.

property ImportedStresses.Count: int | None#

Gets the NumberOfRows.

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

Gets the current DataModelObject's category.

property ImportedStresses.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#

Gets the list of associated figures.

property ImportedStresses.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property ImportedStresses.IconName: str | None#

IconName property.

property ImportedStresses.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#

Gets the list of associated images.

property ImportedStresses.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

property ImportedStresses.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSExternalModelDataCollAuto | None#

Gets the internal object. For advanced usage only.

property ImportedStresses.Item: Ansys.ACT.Automation.Mechanical.ImportedObject | None#

Item property.

property ImportedStresses.Name: str | None#

Name property.

property ImportedStresses.ObjectId: int | None#

ObjectId property.

property ImportedStresses.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

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

ObjectTags property.

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

Parent property.

property ImportedStresses.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties for this object.

property ImportedStresses.PropertyCount: int | None#

Gets the NumberOfColumns.

property ImportedStresses.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property ImportedStresses.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property ImportedStresses.Suppressed: bool | None#

Gets or sets the Suppressed.

property ImportedStresses.TransferableObjectId: str | None#

TransferableObjectId property.

property ImportedStresses.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties that are visible for this object.

Method detail#

ImportedStresses.Activate() None#

Activate the current object.

ImportedStresses.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

ImportedStresses.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

ImportedStresses.AddImage(filePath: str) Ansys.ACT.Automation.Mechanical.Image#
Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.
ImportedStresses.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

ImportedStresses.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

ImportedStresses.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

ImportedStresses.Delete() None#

Run the Delete action.

ImportedStresses.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

ImportedStresses.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

ImportedStresses.GetAPIName(dispId: int) str#

Property name bound to dispId.

ImportedStresses.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

ImportedStresses.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#

Gets the list of children, filtered by type.

ImportedStresses.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

ImportedStresses.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

ImportedStresses.GetEnumerator() Iterator[Ansys.ACT.Automation.Mechanical.ImportedObject]#

GetEnumerator method.

ImportedStresses.GetHashCode() int#

GetHashCode method.

ImportedStresses.GetIconFile() System.Byte#

GetIconFile method.

ImportedStresses.GetLifetimeService() Any#

GetLifetimeService method.

ImportedStresses.GetObject(oneBasedIRow: int) Ansys.ACT.Automation.Mechanical.ImportedObject#

Get the row object

ImportedStresses.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

ImportedStresses.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

ImportedStresses.GetPath() str#

GetPath method.

ImportedStresses.GetPropertyName(dispId: int) str#

GetPropertyName method.

ImportedStresses.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ImportedStresses.GetType() type#

GetType method.

ImportedStresses.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

ImportedStresses.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ImportedStresses.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

ImportedStresses.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

ImportedStresses.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ImportedStresses.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ImportedStresses.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

ImportedStresses.Promote(iRows: Iterable[int], iPromoteOption: int, id: int) None#

Promote method.

ImportedStresses.PromoteAll(iPromoteOption: int, id: int) None#

Promote the rows

ImportedStresses.PropertyByAPIName(name: str) Ansys.ACT.Automation.Mechanical.Property#
Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.
ImportedStresses.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

ImportedStresses.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

ImportedStresses.RemoveParameter(propName: str) None#

Removes the parameter from the parameter set corresponding to the given property.

ImportedStresses.ToString() str#

ToString method.