I’m trying to get the RGB colour code of an object that is extracted from a external source.
When I select the object and use rhino.objectcolor it returns a long string of numbers and I cant see what reference this has to an RGB code.
The Code below:
For each strObject in arrObject
If Rhino.IsSurface(strObject)
srfcolour = Rhino.ObjectColor(strObject)
End If
Next
The output I get for srfcolour = 11783547
I would prefer the return to be RGB(X,X,X) for example