LayeredSectionWorksheet#

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

Bases: object

LayeredSectionWorksheet class.

Overview#

AddThicknessLayer

Add a row to the LayeredSectionWorksheet

DeleteRow

Delete a row from the LayeredSectionWorksheet

GetAngle

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

GetMaterial

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

GetThickness

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

InsertThicknessLayerAbove

Insert a new layer to the LayeredSectionWorksheet

InsertThicknessLayerBelow

Insert a new layer to the LayeredSectionWorksheet

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.

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.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.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.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.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.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.