2027 Method
Changes 0
M

RebarShapeDrivenAccessor.ScaleToBoxFor3D

Description:
Move and resize a spiral or multiplanar instance 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.
public void ScaleToBoxFor3D(
	XYZ origin,
	XYZ xVec,
	XYZ yVec,
	double height
)
  • origin
    One corner of the rectangle.
  • xVec
    Vector representing the first edge of the rectangle. The length must be positive.
  • yVec
    Vector representing the second edge of the rectangle. Must be perpendicular to xVec.
  • Double
    height
    New value for the Height or MultiplanarDepth property.
  • A non-optional argument was null
  • xVec has zero length. -or- yVec has zero length.
  • This RebarShapeDrivenAccessor is not an instance of a spiral or multiplanar shape. -or- 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.