File3dmObjectTable.AddSphere Method (Sphere, ObjectAttributes)

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
)
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: Guid
A unique identifier for the object.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also