|
|
Renders a 3D cone.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub Cone ( _ start As Point3D, _ end As Point3D, _ startRadius As Double, _ endRadius As Double _ ) |
| C# |
|---|
public void Cone( Point3D start, Point3D end, double startRadius, double endRadius ) |
| Visual C++ |
|---|
public: void Cone( Point3D^ start, Point3D^ end, double startRadius, double endRadius ) |
Parameters
- start
- Type: Autodesk.Navisworks.Api..::..Point3D
Start point of centre axis.
- end
- Type: Autodesk.Navisworks.Api..::..Point3D
End point of centre axis.
- startRadius
- Type: System..::..Double
Radius at start point of cone.
- endRadius
- Type: System..::..Double
Radius at end point of cone.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| 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 |