I'm new to the forum so hopefully this is the right place to ask
I'm using the fOSC pluggin (https://github.com/fillmember/fOSC) to read an external timecode (basically, the frame number position of another program) in c4d.
This plugin stores the variable into a null object X position so I’ve written this code for it:
def main: obj = op.GetObject() frame = obj[c4d.ID_BASEOBJECT_REL_POSITION, c4d.VECTOR_X] fps = doc[c4d.DOCUMENT_FPS] time = c4d.BaseTime (frame, fps) doc.SetTime(time) c4d.EventAdd()
The thing is that the timeline cursor moves accordingly but the scene is not updated (EventAdd seems not to work) and moreover: this happens on a PC but on a MAC it works. And of course I have to use a PC
Someone has any idea on what’s going on?
Thank you very much in advance!