RVTDocs.com
Namespace: Autodesk.Revit.Creation Class: Document

Document.NewSpaces2(Phase, Int32)

Method
Description:
Creates a set of new unplaced spaces on a given phase.
Syntax
public ICollection<ElementId> NewSpaces2(
	Phase phase,
	int count
)
Parameters
Parameter Type Description
phase Phase The phase in which the spaces are to exist.
count Int32
Return Value
Type Description
ICollection If successful, a set of ElementIds of new unplaced spaces are be returned, otherwise .
Exceptions
Exception Condition
ArgumentException Thrown if the phase does not exist in the given document.