IsObjectReference

Verifies that an object is a reference object.  Reference objects are object that are not part of the current document.

Syntax

Rhino.IsObjectReference (strObject)

Parameters

strObject

Required.  String.  The identifier of an object.

Returns

True

The object is a reference object.

False

The object is not a reference object.

Null

On error.

Example

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

Also See

IsObject

IsObjectHidden

IsObjectInGroup

IsObjectLocked

IsObjectNormal

IsObjectSelectable

IsObjectSelected

IsObjectSolid