DocumentNewSpaces2(Level, Phase, View) Method |
Creates new spaces on the available plan circuits of a the given level.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic ICollection<ElementId> NewSpaces2(
Level level,
Phase phase,
View view
)
Public Function NewSpaces2 (
level As Level,
phase As Phase,
view As View
) As ICollection(Of ElementId)
public:
ICollection<ElementId^>^ NewSpaces2(
Level^ level,
Phase^ phase,
View^ view
)
member NewSpaces2 :
level : Level *
phase : Phase *
view : View -> ICollection<ElementId>
Parameters
- level Level
- The level on which the spaces is to exist.
- phase Phase
- The phase in which the spaces is to exist.
- view View
- The view on which the space tags for the spaces are to display.
Return Value
ICollectionElementId If successful, a set of ElementIds which contains the rooms should be returned, otherwise the exception will be thrown.
Exceptions
Remarks This method will regenerate the document even in manual regeneration mode.
See Also