|
|
Renders a 3D cylinder.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub Cylinder ( _ start As Point3D, _ end As Point3D, _ radius As Double _ ) |
| C# |
|---|
public void Cylinder( Point3D start, Point3D end, double radius ) |
| Visual C++ |
|---|
public: void Cylinder( Point3D^ start, Point3D^ end, double radius ) |
Parameters
- start
- Type: Autodesk.Navisworks.Api..::..Point3D
Start point of centre axis.
- end
- Type: Autodesk.Navisworks.Api..::..Point3D
End point of centre axis.
- radius
- Type: System..::..Double
Radius of cylinder.
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 |