Document.NewRooms2
Description:
Creates new rooms in each plan circuit found in the given level in the last phase.
Creates new rooms in each plan circuit found in the given level in the last phase.
Overloads (3):
-
levelThe level from which the circuits are found.
Return Value
nullNothingnullptr
If successful, a set of ElementIds which contains the rooms created should be returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
-
If the view of the relevant level can not be retrieved.
-
If the phase is invalid, or regeneration fails at the end of the creation.
-
Thrown if the level does not exist in the given document.