Verifies that a user-defined subroutine or function is resident in RhinoScript's VBScript engine.
Rhino.IsProcedure (strSubName)
strSubName |
Required. String. 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