|
|
Renders a 2D arc in the XY plane at the current Z depth.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub Arc ( _ centre As Point2D, _ start As Point2D, _ end As Point2D, _ filled As Boolean _ ) |
| C# |
|---|
public void Arc( Point2D centre, Point2D start, Point2D end, bool filled ) |
| Visual C++ |
|---|
public: void Arc( Point2D^ centre, Point2D^ start, Point2D^ end, bool filled ) |
Parameters
- centre
- Type: Autodesk.Navisworks.Api..::..Point2D
Centre point of the arc.
- start
- Type: Autodesk.Navisworks.Api..::..Point2D
Start point of the arc.
- end
- Type: Autodesk.Navisworks.Api..::..Point2D
End point of the arc.
- filled
- Type: System..::..Boolean
Should the arc be filled in or an outline.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| System..::..ArgumentNullException | Argument 'centre' is null |
| System..::..ArgumentException | Argument 'centre' has been Disposed |
| System..::..ArgumentNullException | Argument 'start' is null |
| System..::..ArgumentException | Argument 'start' has been Disposed |
| System..::..ArgumentNullException | Argument 'end' is null |
| System..::..ArgumentException | Argument 'end' has been Disposed |