Override the SketchPlane property of CurveElement.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Syntax
C# |
---|
public override SketchPlane SketchPlane { get; set; } |
Visual Basic |
---|
Public Overrides Property SketchPlane As SketchPlane Get Set |
Visual C++ |
---|
public: virtual property SketchPlane^ SketchPlane { SketchPlane^ get () override; void set (SketchPlane^ value) override; } |
Remarks
CurveByPoints has no associated SketchPlane. Getting this
property returns nullNothingnullptra null reference (Nothing in Visual Basic). Setting it causes an InvalidOperationException.