ImportedLayeredSection#

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

Bases: object

Defines a ImportedLayeredSection.

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.

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

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

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.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RegroupToDefault

Run the RegroupToDefault action.

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.

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.

InternalObject

Gets the internal object. For advanced usage only.

LayerToDisplay

Gets or sets the LayerToDisplay.

MaximumNumberOfLayers

Gets the MaximumNumberOfLayers.

Name

Name property.

NonlinearEffects

Gets or sets the NonlinearEffects.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

State

State property.

Suppressed

Gets or sets the Suppressed.

ThermalStrainEffects

Gets or sets the ThermalStrainEffects.

Type

Gets the Type.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property ImportedLayeredSection.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

GroupingFolder property.

property ImportedLayeredSection.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property ImportedLayeredSection.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSExternalEnhancedModelAuto | None#

Gets the internal object. For advanced usage only.

property ImportedLayeredSection.LayerToDisplay: int | None#

Gets or sets the LayerToDisplay.

property ImportedLayeredSection.MaximumNumberOfLayers: int | None#

Gets the MaximumNumberOfLayers.

property ImportedLayeredSection.Name: str | None#

Name property.

property ImportedLayeredSection.NonlinearEffects: bool | None#

Gets or sets the NonlinearEffects.

property ImportedLayeredSection.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

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

State property.

property ImportedLayeredSection.Suppressed: bool | None#

Gets or sets the Suppressed.

property ImportedLayeredSection.ThermalStrainEffects: bool | None#

Gets or sets the ThermalStrainEffects.

property ImportedLayeredSection.Type: Ansys.Mechanical.DataModel.Enums.ExternalEnhancedModelType | None#

Gets the Type.

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

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

Method detail#

ImportedLayeredSection.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

ImportedLayeredSection.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.
ImportedLayeredSection.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

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

Creates a copy of the current DataModelObject.

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

Equals method.

ImportedLayeredSection.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

ImportedLayeredSection.GetHashCode() int#

GetHashCode method.

ImportedLayeredSection.GetIconFile() System.Byte#

GetIconFile method.

ImportedLayeredSection.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

ImportedLayeredSection.GetPath() str#

GetPath method.

ImportedLayeredSection.GetPropertyName(dispId: int) str#

GetPropertyName method.

ImportedLayeredSection.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ImportedLayeredSection.GetType() type#

GetType method.

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

GetVisibleProperties method.

ImportedLayeredSection.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ImportedLayeredSection.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

ImportedLayeredSection.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ImportedLayeredSection.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ImportedLayeredSection.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

ImportedLayeredSection.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.
ImportedLayeredSection.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

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

Get a property by its unique name.

ImportedLayeredSection.RegroupToDefault() None#

Run the RegroupToDefault action.

ImportedLayeredSection.RemoveParameter(propName: str) None#

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

ImportedLayeredSection.ToString() str#

ToString method.