Click or drag to resize

File3dmObjectTableAddSphere Method (Sphere, ObjectAttributes)

Adds a surface object to the document representing a sphere.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Guid AddSphere(
	Sphere sphere,
	ObjectAttributes attributes
)

Parameters

sphere
Type: Rhino.GeometrySphere
A sphere to add.
attributes
Type: Rhino.DocObjectsObjectAttributes
Attributes to link with the sphere.

Return Value

Type: Guid
A unique identifier for the object.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also