DocumentNewRooms2(Level, Phase) Method |
Creates new rooms in each plan circuit found in the given level in the given phase.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic ICollection<ElementId> NewRooms2(
Level level,
Phase phase
)
Public Function NewRooms2 (
level As Level,
phase As Phase
) As ICollection(Of ElementId)
public:
ICollection<ElementId^>^ NewRooms2(
Level^ level,
Phase^ phase
)
member NewRooms2 :
level : Level *
phase : Phase -> ICollection<ElementId>
Parameters
- level Level
- The level from which the circuits are found.
- phase Phase
- The phase on which the room is to exist.
Return Value
ICollectionElementId If successful, a set of ElementIds which contains the rooms should be returned, otherwise the exception will be thrown.
Exceptions
See Also