2024 Method
Changes 0
M

StairsLanding.CreateSketchedLandingWithSlopeData

Description:
Creates a customized landing between two runs by providing the closed boundary curves of the landing, specifying slope type and height.
Remarks:
The new stairs landing and the document will be regenerated. This should be run from within an open transaction.
public static StairsLanding CreateSketchedLandingWithSlopeData(
	Document document,
	ElementId stairsId,
	IList<SketchedStairsCurveData> 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, specifying slope type and height.
  • 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.