GetSurfaceIsoParamPoint - PYTHON 不支持

Pauses for user input of a point constrained to a surface object.

语法

Rhino.GetSurfaceIsoParamPoint (strObject [, strMessage])

参数

strObject

Required.字符串。The surface object's identifier.

strMessage

可选参数。字符串。A prompt or message.

返回值

Array

An array of selection information if successful.The elements of the array are as follows:

Element

描述

0

The selected surface parameter in the U direction.

1

The selected surface parameter in the V direction.

2

The direction selected by the user:0=U, 1=V, 2 = Both.

Null

如果执行不成功或出错,返回空值。

示例

Sub MyExtractIsoCurve

  Const rhObjectSurface = 8

  Dim strObject, arrResult

  strObject = Rhino.GetObject("Select surface for isocurve extraction", rhObjectSurface)

  If Not IsNull(strObject) Then

    arrResult = Rhino.GetSurfaceIsoParamPoint(strObject, "Select location for extraction")

    If IsArray(arrResult) Then

      Rhino.ExtractIsoCurve strObject, Array(arrResult(0),arrResult(1)), arrResult(2)

    End If

  End If

End Sub

同见

GetPointOnSurface