Revit 2025.3 API
Stairs |
Creates a new stairs path for the stairs in a multistory stairs with the specified stairs path type only in the plan view.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static IList<StairsPath> CreateOnMultistoryStairs( Document document, LinkElementId multistoryStairsId, ElementId typeId )
Public Shared Function CreateOnMultistoryStairs ( document As Document, multistoryStairsId As LinkElementId, typeId As ElementId ) As IList(Of StairsPath)
public: static IList<StairsPath^>^ CreateOnMultistoryStairs( Document^ document, LinkElementId^ multistoryStairsId, ElementId^ typeId )
static member CreateOnMultistoryStairs : document : Document * multistoryStairsId : LinkElementId * typeId : ElementId -> IList<StairsPath>
Parameters
- document Document
- The document.
- multistoryStairsId LinkElementId
- The id of the multistory stairs element either in the host document or in a linked document.
- typeId ElementId
- The type of stairs path.
Return Value
IListStairsPathThe new stairs paths.

Exception | Condition |
---|---|
ArgumentException | Cannot add more stairs paths on multistoryStairsId. -or- The typeId is not a valid stairs path type. |
ArgumentNullException | A non-optional argument was null |
See Also