CGTalk > Software > Autodesk Miscellaneous > Autodesk Softimage > XSI: Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 07-31-2012, 03:14 AM   #1
New Member
Tazz Zhao
shenzhen, China
Join Date: Apr 2005
Posts: 8
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?

Old 07-31-2012, 03:18 PM   #2
No longer user this account
Join Date: Jul 2003
Posts: 278
try using the DeleteObj command instead of DeleteCurrentPass
Old 08-01-2012, 01:44 AM   #3
New Member
Tazz Zhao
shenzhen, China
Join Date: Apr 2005
Posts: 8

yup, i already tried with DeleteObj, the result is the same. Also, i even tried with this:
SelectObj xx, "BRANCH" or ("TREE)"
DeleteObj ()
Still doesn't work!
Old 08-27-2012, 07:02 AM   #4
ThE_JacO's Avatar
CGSociety Member
Raffaele Fragapane
That Creature Dude
Animal Logic
Sydney, Australia
Join Date: Jul 2002
Posts: 10,955
Have you tried making sure it's not your current/active pass, and then deleting it with deleteObj in branch mode?
"As an online CG discussion grows longer, the probability of the topic being shifted to subsidies approaches 1"

Free Maya Nodes
Old 08-27-2012, 07:02 AM   #5
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
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
Society of Digital Artists

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

All times are GMT. The time now is 05:21 PM.

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