DocumentNewSpace(Level, Phase, UV) Method |
Creates a new space element on the given level, at the given location, and assigned to the given phase.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic Space NewSpace(
Level level,
Phase phase,
UV point
)
Public Function NewSpace (
level As Level,
phase As Phase,
point As UV
) As Space
public:
Space^ NewSpace(
Level^ level,
Phase^ phase,
UV^ point
)
member NewSpace :
level : Level *
phase : Phase *
point : UV -> Space
Parameters
- level Level
- The level on which the room is to exist.
- phase Phase
- The phase in which the room is to exist.
- point UV
- A 2D point that dictates the location on that specified level.
Return Value
Space If successful a new Space element within the project, otherwise
.
Exceptions
See Also