StairsPath.Create
Description:
Creates a new stairs path for the specified stairs with the specified stairs path type only in the plan view.
Creates a new stairs path for the specified stairs with the specified stairs path type only in the plan view.
public static StairsPath Create(
Document document,
LinkElementId stairsId,
ElementId typeId,
ElementId planViewId
)
-
documentThe document.
-
stairsIdThe id of the stairs element either in the host document or in a linked document.
-
typeIdThe type of stairs path.
-
planViewIdThe plan view in which the stairs path will be shown.
-
The stairsId is not a valid stairs. -or- The typeId is not a valid stairs path type. -or- The planViewId is not a valid plan view. -or- The stairsId already has a stairs path. -or- The stairsId is not visible in planViewId.
-
A non-optional argument was null