command no use with batch render


#1

Hey, all

i have a script to delete a render pass, like this:
DeleteCurrentPass “Passes.Depth”

in my scene, there are 2 render passes, one is the default_pass, the other is Depth, to run the code within the scene, it’s ok. but if i use it as a script for batch render, i.e “xsibatch -script xxx -render myscene.scn”, softimage will freeze after runing the code, any suggestion to this?

Thanks!


#2

try using the DeleteObj command instead of DeleteCurrentPass


#3

yup, i already tried with DeleteObj, the result is the same. Also, i even tried with this:

SelectObj xx, “BRANCH” or (“TREE)”
DeleteObj ()
SceneRefresh

Still doesn’t work!


#4

Have you tried making sure it’s not your current/active pass, and then deleting it with deleteObj in branch mode?


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.