Document.NewZone
Description:
Creates a new Zone element.
Creates a new Zone element.
-
levelThe level on which the Zone is to exist.
-
phaseThe associative phase on which the Zone is to exist.
Return Value
nullNothingnullptr
If successful a new Zone element within the project, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
-
Thrown when the specified parameter Value isnullNothingnullptra null reference (Nothingin Visual Basic).
-
Thrown when the electrical system cannot be created by these input phase and level.
-
Thrown if the level does not exist in the given document.
-
Thrown if the phase does not exist in the given document.