Note: This API is now obsolete.
[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a future version of Revit. Please use the GenericZone object instead.")]
public Zone NewZone(
Level level,
Phase phase
)| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the specified parameter Value is null. |
| InvalidOperationException | Thrown when the electrical system cannot be created by these input phase and level. |
| ArgumentException | Thrown if the level does not exist in the given document. |
| ArgumentException | Thrown if the phase does not exist in the given document. |