Document.NewRooms2
Description:
Creates new unplaced rooms in the given phase.
Creates new unplaced rooms in the given phase.
Overloads (3):
-
phaseThe phase on which the rooms are to exist.
-
Int32countThe number of the rooms to be created.
Return Value
ICollection<ElementId>
If successful, a set of ElementIds which contains the rooms should be returned, otherwise the exception will be thrown.
-
If the room can not be created successfully or regeneration fails at the end of the creation.
-
Thrown if the phase does not exist in the given document.