|
|
Renders a 3D sphere.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub Sphere ( _ center As Point3D, _ radius As Double _ ) |
| C# |
|---|
public void Sphere( Point3D center, double radius ) |
| Visual C++ |
|---|
public: void Sphere( Point3D^ center, double radius ) |
Parameters
- center
- Type: Autodesk.Navisworks.Api..::..Point3D
Center of sphere.
- radius
- Type: System..::..Double
Radius of sphere.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| System..::..ArgumentNullException | Argument 'center' is null |
| System..::..ArgumentException | Argument 'center' has been Disposed |