Gets the sketch id for the generic zone.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public ElementId GetSketchId()
Return Value
ElementIdThe sketch element id for the sketch-based generic zone.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This generic zone must be sketch-based. |