LayeredSectionWorksheet
Last update: 14.01.2025
LayeredSectionWorksheet
class Ansys.ACT.Automation.Mechanical.LayeredSectionWorksheet
Bases: object
LayeredSectionWorksheet class.
Overview
Methods
Name | Description |
---|---|
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. |
Properties
Name | Description |
---|---|
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)
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)
Delete a row from the LayeredSectionWorksheet
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.
LayeredSectionWorksheet.GetAngle(index: int)
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)
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)
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)
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)
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)
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)
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)
Set the thickness for the LayeredSection at the row index specifiied.
LayeredSectionWorksheet indices are zero based and ordered in the Z direction.