LayeredSectionWorksheet#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.LayeredSectionWorksheet#

Bases: object

Overview#

AddRow

AddRow method.

AddThicknessLayer

Add a row to the LayeredSectionWorksheet

DeleteRow

Delete a row from the LayeredSectionWorksheet

Equals

Equals method.

GetAngle

Gets the angle for the LayeredSection at the row index specifiied.

GetHashCode

GetHashCode method.

GetMaterial

Gets the material for the LayeredSection at the row index specifiied.

GetThickness

Gets the thickness for the LayeredSection at the row index specifiied.

GetType

GetType method.

InsertThicknessLayerAbove

Insert a new layer to the LayeredSectionWorksheet

InsertThicknessLayerBelow

Insert a new layer to the LayeredSectionWorksheet

RefreshWorksheet

RefreshWorksheet method.

SetAngle

Set the angle for the LayeredSection at the row index specifiied.

SetMaterial

Set the material for the LayeredSection at the row index specifiied.

SetThickness

Set the thickness for the LayeredSection at the row index specifiied.

ToString

ToString method.

RowCount

Gets the number of entries (rows) in the worksheet.

Property detail#

property LayeredSectionWorksheet.RowCount: int | None#

Gets the number of entries (rows) in the worksheet.

Method detail#

LayeredSectionWorksheet.AddRow() int#

AddRow method.

LayeredSectionWorksheet.AddThicknessLayer(materialname: str, thickness: float, angle: float) int#
Add a row to the LayeredSectionWorksheet
New layers are added as the top most layer in the Z direction.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.DeleteRow(index: int) None#
Delete a row from the LayeredSectionWorksheet
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.Equals(obj: Any) bool#

Equals method.

LayeredSectionWorksheet.GetAngle(index: int) float#
Gets the angle for the LayeredSection at the row index specifiied.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.GetHashCode() int#

GetHashCode method.

LayeredSectionWorksheet.GetMaterial(index: int) str#
Gets the material for the LayeredSection at the row index specifiied.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.GetThickness(index: int) float#
Gets the thickness for the LayeredSection at the row index specifiied.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.GetType() type#

GetType method.

LayeredSectionWorksheet.InsertThicknessLayerAbove(materialname: str, thickness: float, angle: float, index: int) int#
Insert a new layer to the LayeredSectionWorksheet
The new layer will be inserted above the layer indicated by the given index.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.InsertThicknessLayerBelow(materialname: str, thickness: float, angle: float, index: int) int#
Insert a new layer to the LayeredSectionWorksheet
The new layer will be inserted below the layer indicated by the given index.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.RefreshWorksheet() None#

RefreshWorksheet method.

LayeredSectionWorksheet.SetAngle(index: int, angle: float) None#
Set the angle for the LayeredSection at the row index specifiied.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.SetMaterial(index: int, materialname: str) None#
Set the material for the LayeredSection at the row index specifiied.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.SetThickness(index: int, thickness: float) None#
Set the thickness for the LayeredSection at the row index specifiied.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.ToString() str#

ToString method.