command no use with batch render

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 07 July 2012   #1
command no use with batch render

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!
 
Old 07 July 2012   #2
try using the DeleteObj command instead of DeleteCurrentPass
 
Old 08 August 2012   #3
Unhappy

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!
 
Old 08 August 2012   #4
Have you tried making sure it's not your current/active pass, and then deleting it with deleteObj in branch mode?
__________________
Come, Join the Cult http://www.cultofrig.com - Rigging from First Principles
 
Old 08 August 2012   #5
Thread automatically closed

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.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:18 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.