Processing python script with MayaBatch without rendering

5 views
Skip to first unread message

Petr Kalis

unread,
Aug 27, 2025, 9:42:10 AM (10 days ago) Aug 27
to Royal Render Knights Tavern
Hi
I am trying to run custom python script in MayaBatch that will just export animation alembic cache, without explicit rendering phase.
I found `3D02__Maya2009__Python.cfg` which I modified for my Maya version and put it in `render_apps\_config_inhouse\`.

I modified my submission for:
`Software`:"Maya"
`Renderer`: "Python`
and tried to add `CustomScript` as a job field or `SubmitterParameter` but it seems that the job is still trying to render and ignores my script.

Am I wide off base (I thought about `Pre- Script job`, but there shouldn't be anything "after".) or what I am missing?

Thanks for reply in advance.

PK

RR, Schoenberger

unread,
Aug 27, 2025, 10:01:39 AM (10 days ago) Aug 27
to rrKn...@googlegroups.com

Hi

 

 

> which I modified for my Maya version

There is no need to modify the version in any of our files in render_apps\_config

“Version=2009”  means this script support Maya 2009 and later.

No need to duplicate our files.

 

 

 

 

 

If you want to run a python script or if you want to export Alembic caches,

have you tried the submission within Maya?
Both are available via the menu:



 

 

About “3D02__Maya2009__Python.cfg”:

This config file is used if you submit via our Maya plugin as well.

As it seems you are trying to do it manually (via rrSubmitter UI?),   
this is what the plugin command does:

1) It changes the renderer to "Python".
     (rrSubmitter, lower left)
2) It sets a custom variable for the job  “customScriptFile” = “pyFileName”
    (rrSubmitter, top right “Scene Settings”, “Edit Custom Variables”)

3) It changes the output that it does not interfere with the render output of the scene loaded
       imageFileName= "python"
       imageExtension=""
    (rrSubmitter, top right “Scene Settings”)

 

 

 

 

 

 

 

regards,
Holger Schönberger

Craftsman and Keeper of the Royal Render Flame

Please use the rrKnights Tavern
or our support system for new questions.

 

 

image002.png
Reply all
Reply to author
Forward
0 new messages