Creates a new Zone element.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic Zone NewZone(
Level level,
Phase phase
)
Public Function NewZone (
level As Level,
phase As Phase
) As Zone
public:
Zone^ NewZone(
Level^ level,
Phase^ phase
)
member NewZone :
level : Level *
phase : Phase -> Zone
Parameters
- level Level
- The level on which the Zone is to exist.
- phase Phase
- The associative phase on which the Zone is to exist.
Return Value
Zone If successful a new Zone element within the project, otherwise
.
Exceptions
See Also