OffsetSurface



Your Ad Here

Offsets a surface by a distance. The offset surface will be added to Rhino.

Syntax

Rhino.OffsetSurface (strObject, dblDistance)

Parameters

strObject

Required.  String.  The object's identifier.

dblDistance

Required.  Number.  The distance to offset.

Returns

String

The identifier of the new object if successful.

Null

If not successful, or on error.

Example

Const rhObjectSurface = 8

Dim strObject

strObject = Rhino.GetObject("Select a surface", rhObjectSurface)

If Rhino.IsSurface(strObject) Then

Rhino.OffsetSurface strObject, 10.0

End If

Also See

OffsetCurve

Return to Rhino Index


Your Ad Here