IsProcedure - PYTHON 不支持

Verifies that a user-defined subroutine or function is resident in RhinoScript's VBScript engine.

语法

Rhino.IsProcedure (strSubName)

参数

strSubName

Required.字符串。The name of a user-defined subroutine of function.

返回值

Boolean

True or False indicating success or failure.

Null

On error.

示例

If Not (Rhino.IsProcedure("MySubroutine")) Then

Rhino.Command "-LoadScript MyScriptFile.rvb"

End If

MySubroutine

同见

AllProcedures