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