The LayerProperties object defines the properties of a layer of reinforcement for membrane, shell, and surface sections.
sectionApi.sections()[name].rebarLayers().layerTable(i)
This method creates a LayerProperties object.
LayerProperties
odb_LayerProperties& LayerProperties(double barArea, odb_Union orientationAngle, const odb_String& layerName, const odb_String& material, double barSpacing, double layerPosition, double spacingAngle, double extensionRatio, double radius);
Required arguments
A Double specifying the area per bar.
An odb_Union specifying the orientation of the rebar. A Float specifies the angular orientation; a String specifies an orientation name.
An odb_String specifying the name of the rebar layer.
An odb_String specifying the name of the rebar material.
Optional arguments
A Double specifying the spacing of the rebar. This argument is only valid if the rebarSpacing argument on the parent RebarLayers object is set to "CONSTANT". The default value is 0.0.
A Double specifying the position of the rebar from the middle surface of the shell. layerPosition applies only for homogeneous shell sections and composite shell sections. The default value is 0.0.
A Double specifying the spacing angle of the rebar. This argument is only valid if the rebarSpacing argument on the parent RebarLayers object is set to "ANGULAR". The default value is 0.0.
A Double specifying the extension ratio for the rebar. This argument is only valid if the rebarSpacing argument on the parent RebarLayers object is set to "LIFT_EQUATION". The default value is 0.0.
A Double specifying the radius of the rebar. This argument is only valid if the rebarSpacing argument on the parent RebarLayers object is set to "LIFT_EQUATION". The default value is 0.0.
Return value
A LayerProperties object.
Exceptions
The LayerProperties object has members with the same names and descriptions as the arguments to the LayerProperties method.