Offsets a surface by a distance. The offset surface will be added to Rhino.
Rhino.OffsetSurface (strObject, dblDistance)
|
strObject |
Required. String. The object's identifier. |
|
dblDistance |
Required. Number. The distance to offset. |
|
String |
The identifier of the new object if successful. |
|
Null |
If not successful, or on error. |
Const rhObjectSurface = 8
Dim strObject
strObject = Rhino.GetObject("Select a surface", rhObjectSurface)
If Rhino.IsSurface(strObject) Then
Rhino.OffsetSurface strObject, 10.0
End If