Int32 LayeredSectionWorksheet.InsertThicknessLayerAbove(String materialname, Double thickness, Double angle, Int32 index)
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.
Examples
Parameters
-
materialname
Type: String
The name of the material to be used in the new layer.
-
thickness
Type: Double
The thickness to be used in the new layer
-
angle
Type: Double
The angle to be used in the new layer
-
index
Type: Int32
Worksheet row index
Return Value
Type: Int32
Returns the index of the newly added layer.