RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Sketch

Sketch.OwnerId

Property
Description:
Returns id of the sketch owner element or invalidElementId if sketch does not build a geometry.
Syntax
public ElementId OwnerId { get; }