RebarShapeDrivenAccessor.ScaleToBox
Description:
Move and resize the bar to fit within a specified box. The arguments are interpreted as an arbitrary rectangle in 3D with vertices: origin, origin+xVec, origin+xVec+yVec, origin+yVec. The algorithm then proceeds as follows.
Move and resize the bar to fit within a specified box. The arguments are interpreted as an arbitrary rectangle in 3D with vertices: origin, origin+xVec, origin+xVec+yVec, origin+yVec. The algorithm then proceeds as follows.
-
originOne corner of the rectangle.
-
xVecVector representing the first edge of the rectangle. The length must be positive.
-
yVecVector representing the second edge of the rectangle. Must be perpendicular to xVec.
-
A non-optional argument was null
-
xVec has zero length. -or- yVec has zero length.
-
This RebarShapeDrivenAccessor is an instance of a spiral or multiplanar shape.
-
This RebarShapeDrivenAccessor doesn't contain a valid rebar reference. -or- The operation has failed for geometric reasons, such as the box being too small given the bar diameter.