Document.NewSpace
Description:
Creates a new space element on the given level, at the given location, and assigned to the given phase.
Creates a new space element on the given level, at the given location, and assigned to the given phase.
Overloads (3):
-
levelThe level on which the room is to exist.
-
phaseThe phase in which the room is to exist.
-
pointA 2D point that dictates the location on that specified level.
Return Value
nullNothingnullptr
If successful a new Space element within the project, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
-
Thrown when level, phase or point isnullNothingnullptra null reference (Nothingin Visual Basic).
-
Thrown when the space cannot be created.
-
Thrown if the level does not exist in the given document.
-
Thrown if the phase does not exist in the given document.