LayeredSection#

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

Bases: object

Defines a LayeredSection.

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

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.

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.

CoordinateSystem

Gets or sets the CoordinateSystem.

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.

LayeredSectionMembraneOffset

Gets or sets the LayeredSectionMembraneOffset.

Layers

Returns the Layers worksheet associated with LayeredSection

Location

Gets or sets the Location.

Name

Name property.

NonlinearEffects

Gets or sets the NonlinearEffects.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

OffsetType

Gets or sets the OffsetType.

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.

TotalMass

Gets the TotalMass.

TotalThickness

Gets the TotalThickness.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property LayeredSection.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property LayeredSection.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets or sets the CoordinateSystem. Accepts/Returns None for Body Coordinate System

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

GroupingFolder property.

property LayeredSection.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property LayeredSection.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSThicknessAuto | None#

Gets the internal object. For advanced usage only.

property LayeredSection.LayerToDisplay: int | None#

Gets or sets the LayerToDisplay.

property LayeredSection.LayeredSectionMembraneOffset: Ansys.Core.Units.Quantity | None#

Gets or sets the LayeredSectionMembraneOffset.

property LayeredSection.Layers: Ansys.ACT.Interfaces.Common.IWorksheet | None#

Returns the Layers worksheet associated with LayeredSection

property LayeredSection.Location: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the Location.

property LayeredSection.Name: str | None#

Name property.

property LayeredSection.NonlinearEffects: bool | None#

Gets or sets the NonlinearEffects.

property LayeredSection.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

property LayeredSection.OffsetType: Ansys.Mechanical.DataModel.Enums.ShellOffsetType | None#

Gets or sets the OffsetType.

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

Parent property.

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

Gets the list of properties for this object.

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

State property.

property LayeredSection.Suppressed: bool | None#

Gets or sets the Suppressed.

property LayeredSection.ThermalStrainEffects: bool | None#

Gets or sets the ThermalStrainEffects.

property LayeredSection.TotalMass: Ansys.Core.Units.Quantity | None#

Gets the TotalMass.

property LayeredSection.TotalThickness: Ansys.Core.Units.Quantity | None#

Gets the TotalThickness.

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

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

Method detail#

LayeredSection.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

LayeredSection.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

LayeredSection.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

LayeredSection.GetHashCode() int#

GetHashCode method.

LayeredSection.GetIconFile() System.Byte#

GetIconFile method.

LayeredSection.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

LayeredSection.GetPath() str#

GetPath method.

LayeredSection.GetPropertyName(dispId: int) str#

GetPropertyName method.

LayeredSection.GetPropertyValue(name: str) Any#

GetPropertyValue method.

LayeredSection.GetType() type#

GetType method.

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

GetVisibleProperties method.

LayeredSection.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

LayeredSection.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

LayeredSection.InitializeLifetimeService() Any#

InitializeLifetimeService method.

LayeredSection.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

LayeredSection.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

LayeredSection.RemoveParameter(propName: str) None#

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

LayeredSection.ToString() str#

ToString method.