Revit 2026 API
View |
Add a curve to the GRep associated to this ViewShapeBuilder.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void AddCurve( Curve GCurve )
Public Sub AddCurve ( GCurve As Curve )
public: void AddCurve( Curve^ GCurve )
member AddCurve : GCurve : Curve -> unit
Parameters
- GCurve Curve
- The curve to be added.
| Exception | Condition |
|---|---|
| ArgumentException | GCurve is not acceptable for view-specific shape representation that is currently being built. |
| ArgumentNullException | A non-optional argument was null |
See Also