Document.NewSpaces2
Description:
Creates new spaces on the available plan circuits of a the given level.
Creates new spaces on the available plan circuits of a the given level.
Remarks:
This method will regenerate the document even in manual regeneration mode.
This method will regenerate the document even in manual regeneration mode.
Overloads (2):
-
levelThe level on which the spaces is to exist.
-
phaseThe phase in which the spaces is to exist.
-
viewThe view on which the space tags for the spaces are to display.
Return Value
ICollection<ElementId>
If successful, a set of ElementIds which contains the rooms should be returned, otherwise the exception will be thrown.
-
The view of the relevant level can not be retrieved.
-
The phase is invalid or regeneration fails at the end of the creation.
-
Thrown if the level does not exist in the given document.
-
Thrown if the phase does not exist in the given document.
-
Thrown if the view does not exist in the given document.