StairsPathCreateOnMultistoryStairs Method |
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.ArchitectureAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic 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
IListStairsPath
The new stairs paths.
ExceptionsException | 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