RhinoCommon API
File3dmObjectTableAddSphere Method (Sphere, ObjectAttributes) |
Adds a surface object to the document representing a sphere.
Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll)

public Guid AddSphere( Sphere sphere, ObjectAttributes attributes )
Public Function AddSphere ( sphere As Sphere, attributes As ObjectAttributes ) As Guid
Parameters
- sphere
- Type: Rhino.GeometrySphere
A sphere to add. - attributes
- Type: Rhino.DocObjectsObjectAttributes
Attributes to link with the sphere.
Return Value
Type: GuidA unique identifier for the object.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14