NewSpaces2 Method (Phase, Int32)


Creates a set of new unplaced spaces on a given phase.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public ICollection<ElementId> NewSpaces2(
	Phase phase,
	int count
)
Visual Basic
Public Function NewSpaces2 ( _
	phase As Phase, _
	count As Integer _
) As ICollection(Of ElementId)
Visual C++
public:
ICollection<ElementId^>^ NewSpaces2(
	Phase^ phase, 
	int count
)

Parameters

phase
Type: Autodesk.Revit.DB Phase
The phase in which the spaces are to exist.
count
Type: System Int32

Return Value

If successful, a set of ElementIds of new unplaced spaces are be returned, otherwise a null reference ( Nothing in Visual Basic) .

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 →