Creates a new unplaced space on a given phase.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Space NewSpace(
Phase phase
)
Parameters
- phase Phase
- The phase in which the space is to exist.
Return Value
Space If successful the new space should be returned, otherwise
null.
Exceptions
| Exception | Condition |
|---|
| ArgumentException | Thrown if the phase does not exist in the given document. |
See Also
Reference