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)
Since: 5.0
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.
See Also