Verifies that Rhino is initialized and ready for use. You will want to make sure Rhino is initialized before asking for a plug-in automation, asking for the RhinoScript automation object, or running a script.
IsInitialized ()
None
Number |
0 if not initialized, 1 if initialized. |
Dim objRhino, objRhinoScript
On Error Resume Next
Set objRhino = CreateObject("Rhino.Application")
If Err.Number == 0 Then
If 1 = objRhino.IsInitalized Then
objPlugIn.GetScriptObject
End If
End If