2024 Method
Changes 0
M

StairsRun.SetLocationPathForSpiralRun

Description:
Set Location path for a spiral run.
public static bool SetLocationPathForSpiralRun(
	StairsRun stairsRun,
	XYZ center,
	double radius,
	double startAngle,
	double includedAngle,
	bool clockwise,
	StairsRunJustification justification
)
  • stairsRun
    The run whose location path will be set.
  • center
    The center of the location arc of the spiral run. The Z coordinate of the center is the base elevation for the new run (in model coordinates). It must be greater than or equal to the stairs base elevation.
  • Double
    radius
    The radius of the location arc of the spiral run.
  • Double
    startAngle
    The start angle of the location arc of the spiral run. The angle's coordinate system is world coordinate system which always is XYZ.BasisX and XYZ.BasisY.
  • Double
    includedAngle
    The total angle covered by the spiral run. Must be a positive value (direction is determined by the clockwise flag).
  • Boolean
    clockwise
    True if the spiral run will be created along clockwise direction, False otherwise.
  • justification
    The location path justification of the new stairs run.
Return Value bool Indicate if set is success or not.