Hello all, Thanks for your answers Manuel and Marcus.
The notion of "Script Node" is apparently very appropriate, with a "on software frame render" setting. Thank you Marcus. However, it raises two question we could not solve so far. First question : Is it possible to pass a Python variable to a Script Node ? My idea is : 1/ open my motion file BEFORE launching Maya's loop (parse the file header, check a series of things, etc) 2/ pass a File object to the script node, so that on each Maya frame the corresponding data are read in the file. However, I then need to let my scipt node access the File variable... More generally, I think there is probably a mean to let a script node access parameters (Python variables, etc). But which is it ? Second question : Apparently, a "script nodes" deletes itself when executed. Well... This sound a bit strange to me... Is there a mean to let a "on software frame render" script node be permanent, and be executed on each frame ? Thank you very much for your upcoming answers, best- Nicolas (& colleagues) -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/2fe31465-4245-4686-8752-25bbf5d56da5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
