Verifies a light object is referenced from another file.
Rhino.IsLightReference (strObject)
strObject |
Required. String. The light object's identifier. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Const rhObjectLight = 256
Dim strObject
strObject = Rhino.GetObject("Select a light", rhObjectLight)
If Rhino.IsLightReference(strObject) Then
Rhino.Print "The light is a reference object."
Else
Rhino.Print "The light is not a reference object."
End If