Returns the object type.
Rhino.ObjectType (strObject)
|
strObject |
Required. String. The identifier of the object. |
|
Number |
The object type if successful. The valid object types are as follows:
| ||||||||||||||||||||||||||||||||||||
|
Null |
If not successful, or on error. |
Dim strObject, intType
strObject = Rhino.GetObject("Select object")
If strObject <> vbNull Then
intType = Rhino.ObjectType(strObject)
Rhino.Print "Object type: " & CStr(intType)
End If