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
Tazz
New Member
Tazz Zhao
Researcher
IDMT
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?

Thanks!
 
Old 07-31-2012, 03:18 PM   #2
luceric
Frequenter
No longer user this account
Canada
 
Join Date: Jul 2003
Posts: 278
try using the DeleteObj command instead of DeleteCurrentPass
 
Old 08-01-2012, 01:44 AM   #3
Tazz
New Member
Tazz Zhao
Researcher
IDMT
shenzhen, China
 
Join Date: Apr 2005
Posts: 8
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-27-2012, 07:02 AM   #4
ThE_JacO
MOBerator-X
 
ThE_JacO's Avatar
CGSociety Member
portfolio
Raffaele Fragapane
That Creature Dude
Animal Logic
Sydney, Australia
 
Join Date: Jul 2002
Posts: 10,954
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
Expert
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 04:49 PM.


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