Verifies that an object is a reference object. Reference objects are object that are not part of the current document.
Rhino.IsObjectReference (strObject)
strObject |
Required. String. The identifier of an object. |
True |
The object is a reference object. |
False |
The object is not a reference object. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject("Select object")
If Rhino.IsObjectReference(strObject) Then
Rhino.Print "The object is a reference object."
Else
Rhino.Print "The object is not a reference object."
End If