Creates new unplaced rooms in the given phase.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
Visual Basic |
---|
Public Function NewRooms2 ( _
phase As Phase, _
count As Integer _
) As ICollection(Of ElementId) |
Visual C++ |
---|
public:
ICollection<ElementId^>^ NewRooms2(
Phase^ phase,
int count
) |
Parameters
- phase
- Type: Autodesk.Revit.DB..::..Phase
The phase on which the rooms are to exist.
- count
- Type: System..::..Int32
The number of the rooms to be created.
Return Value
If successful, a set of ElementIds which contains the rooms should be returned, otherwise the exception will be thrown.
Exceptions
See Also