NumberSystem.Create
Description:
Creates a new instance of a NumberSystem associated to a host element and a view.
Creates a new instance of a NumberSystem associated to a host element and a view.
Overloads (2):
Create(Document,ElementId,LinkElementId,Reference)
public static NumberSystem Create(
Document document,
ElementId viewId,
LinkElementId numberedElementId,
Reference referenceCurve
)
-
documentThe document.
-
viewIdThe view in which the NumberSystem will be created.
-
numberedElementIdThe host id on which the NumberSystem will be created.
-
referenceCurveThe reference curve along which the NumberSystem will be created. It is suggested to get the new reference via GetNumberSystemReference() from the host element.
-
viewId is not valid for placement of a NumberSystem (only floor plan views and elevation views are permitted). -or- numberedElementId is not valid as a host for NumberSystem (only StairsRun elements are permitted in this release). -or- The referenceCurve is not valid for NumberSystem on numberedElementId. -or- The numberedElementId already has a NumberSystem.
-
A non-optional argument was NULL