Returns the definition of a sphere surface.
Rhino.SurfaceSphere (strSurface)
strSurface |
Required. String. The surface object's identifier. |
Array |
An array containing the definition of the sphere if successful. The elements of the array are as follows:
|
|||||||||
Null |
If not successful, or on error. |
Dim strSphere, arrSphere
strSphere = Rhino.AddSphere(Rhino.WorldXYPlane, 6)
If Rhino.IsSphere(strSphere) Then
arrSphere = Rhino.SurfaceSphere(strSphere)
Rhino.AddSphere arrSphere(0), arrSphere(1)
End If