Creates a set of new unplaced spaces on a given phase.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ICollection<ElementId> NewSpaces2( Phase phase, int count )
Parameters
Return Value
ICollection<ElementId>If successful, a set of ElementIds of new unplaced spaces are be returned, otherwise nullptr.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the phase does not exist in the given document. |