Revit 2026 API
Generic |
Gets the sketch id for the generic zone.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ElementId GetSketchId()
Public Function GetSketchId As ElementId
public: ElementId^ GetSketchId()
member GetSketchId : unit -> ElementId
Return Value
ElementIdThe sketch element id for the sketch-based generic zone.
| Exception | Condition |
|---|---|
| InvalidOperationException | This generic zone must be sketch-based. |
See Also