RVTDocs.com

StairsPath.CreateOnMultistoryStairs

Method
Description:
Creates a new stairs path for the stairs in a multistory stairs with the specified stairs path type only in the plan view.
Syntax
public static IList<StairsPath> CreateOnMultistoryStairs(
	Document document,
	LinkElementId multistoryStairsId,
	ElementId typeId
)
Parameters
Parameter Type Description
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
Type Description
IList The new stairs paths.
Exceptions
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