NewSpace Method (Phase)


Document New Space(Phase) Method

Creates a new unplaced space on a given phase.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
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 .
Exceptions
Exception Condition
ArgumentException Thrown if the phase does not exist in the given document.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →