RebarContainer.AppendItemFromRebarShape
Description:
Appends an Item to the RebarContainer. Fills its data on base of the Rebar.
Appends an Item to the RebarContainer. Fills its data on base of the Rebar.
public RebarContainerItem AppendItemFromRebarShape(
RebarShape rebarShape,
RebarBarType barType,
XYZ origin,
XYZ xVector,
XYZ yVector
)
-
rebarShapeA RebarShape element that defines the shape of the rebar.
-
barTypeA RebarBarType element that defines bar diameter, bend radius and material of the rebar.
-
originThe lower-left corner of the shape's bounding box will be placed at this point in the project.
-
xVectorThe x-axis in the shape definition will be mapped to this direction in the project.
-
yVectorThe y-axis in the shape definition will be mapped to this direction in the project.
-
The rebarShape has End Treatments
-
A non-optional argument was null
-
xVector has zero length. -or- yVector has zero length.
-
None of the following disciplines is enabled: Structural.