On 31/01/2017 at 13:24, xxxxxxxx wrote:
Hi,
I'm new to python in c4d. I am trying to load an image sequence and have the footage automatically calculate and set Timing to Range, and update the Range Start and Range End to match Movie Start Frame and Movie End Frame.
everything goes as planned until it comes time to set Range Start/End. If I print my variables I get...
start = shader[c4d.BITMAPSHADER_TIMING_FROM]
end = shader[c4d.BITMAPSHADER_TIMING_TO]
start1 = shader[c4d.BITMAPSHADER_TIMING_RANGEFROM]
end1 = shader[c4d.BITMAPSHADER_TIMING_RANGETO]
print start
print end
print start1
print end1
my result is:
1
65
<c4d.BaseTime object at 0x000000000E1AF0D8
<c4d.BaseTime object at 0x000000000E1AF0D8
I am very confused by this. it seems as though something in python is broken. I would expect the final two results to still be integers, the default 0 and 120. I cant find anything in the sdk and I cant find any other information on line.
please help