QUOTE(maxim182 @ 02/01/09, 05:52 PM) [snapback]300072[/snapback]
I have a Python-Script that works fine in Maya.
Easiest would be to bake it down
Problem is that theres a lot of functionality in the gui. But gui is not leaded rendretime so you MUST not depend on any of those parts! You can selectively try to source this part tough.
Anyway this comes very close the what your supposed to script and what not. Yes you can go all whatever works and live in fix all small parts hell because your working against the system.
QUOTE
How can I tell the render engine that there is a script that should be recognized by rendering?
Well simply put you cant, or it depends on the script. So as long as your script only asks for stuff in the reference it should be ok, if it doesnt rely on script jobs. You could put it also in prerender frame script.
BUt it greatly depends on wether or not your script actualally plays ball with how maya execution environment works. This happens a lot because it easier to just swing it than actually spend time learning what the sytem does.
But yes theres no single catch it all answer, care to illuminate and i can help better. Probably teh aswer would be you hsould have used a node.
You can also simply just go the tacky way out and render all frames in the gui with a loop. But obviously that's not something you want t do in fuuture, whan you need to use huge render farms.