2024 Method
Changes 0
M

StairsLanding.CreateSketchedLanding

Description:
Creates a customized landing between two runs by providing the closed boundary curves of the landing.
Remarks:
The new stairs landing and the document will be regenerated. This should be run from within an open transaction.
public static StairsLanding CreateSketchedLanding(
	Document document,
	ElementId stairsId,
	CurveLoop curveLoop,
	double baseElevation
)
  • document
    The document that owns the landing.
  • stairsId
    The stairs that the new sketched landing belongs to.
  • curveLoop
    The closed boundary curves of the new landing.
  • Double
    baseElevation
    Base elevation of the new stairs run. The elevation has following restriction:
    • The base elevation is relative to the base elevation of the stairs.
    • The base elevation will be rounded automatically to a multiple of the riser height.
    • The base elevation should be equal to or greater than half of the riser height.
Return Value StairsLanding The new sketched landing.