What I figured so far, that the issue is with the values in the array
I have 8 digit hex in text file, and I want to convert it to long, or literal hex value... Funny that the documentation says: Each RGBA hexadecimal value takes a byte and is packaged into a long. For example, red is &hFF000000, which is packaged into the long value -16777216 While this Application.Logmessage(0xFF000000) logs as 4278190080 It seems that the problem is that Python has 32 and 64bit version of Long integer, while Softimage uses the 32bit Long integer (my assumption is based upon the value range...) So the question is how can I convert my hexa values to signed 32 bit long? Cheers Szabolcs From: [email protected] [mailto:[email protected]] On Behalf Of Xavier Lapointe Sent: Thursday, September 27, 2012 3:04 PM To: [email protected] Subject: Re: Python and xsi commands Ehh, that's weird. :( I would make sure the data in both array is fine and match (the hexadecimal or long values representing the rgb colors that you feed are ok by running a small subset of your data, like one or 2 indices) , and maybe you could try converting list to tuple. Other than that, it's quite strange.

