Re: Showing current xsibatch image file with imf_disp

Date : Tue, 28 Nov 2006 09:05:48 -0500
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : Re: Showing current xsibatch image file with imf_disp
Yes, please!



On 11/28/06, Kim Aldis <XSI(at)kim-aldis.co.uk> wrote:




If you're interested, I've a python script here that  checks files to see if
there's something still rendering to it. I scan directories and use it on
128 byte files to check if the render has died or still running. It'll tell
you which node is responsible for it's rendering/failing too. I can see it
being used to automatically scan for new files so it can display them too.



The plan was to blog it and how it works but if it's useful you're welcome
to it earlier.









From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of
guillaume laforge
 Sent: 27 November 2006 09:37
 To: XSI(at)Softimage.COM
 Subject: Re: Showing current xsibatch image file with imf_disp



Thanks Kim !
 LauchProcess worke fine like this :-)

 Ex :
XSIUtils.LaunchProcess("C:\\Softimage\\XSI_5.11\\Application\\bin\\imf_disp.exe
C:\\Softimage\\XSI_5.11\\Data\\XSI_SAMPLES\\Pictures\\benediti.pic")

 Cheers



 --
 Guillaume Laforge
 freelance TD | cg Artist
 my blog ! http://vol2blog.blogspot.com/


On 11/27/06, Kim Aldis <XSI(at)kim-aldis.co.uk> wrote:



Sure, just add it to the command line. I've not used launcprocess but the
first thing to try would be:-



XSIUtils.LaunchProcess("C:\\Softimage\\XSI_5.11\\Application\\bin\\imf_disp.exe
ImageFile")





If the path to your image file has spaces in it you'll need to wrap it in
quotes, which you can escape. Again, I'm not sure if this will work using
launchprocess but if it does fail, try using System(), in which case you'll
probably need to pass it through Cmd.exe. Windows is a bit of a mess in this
area and you may need to try variations.








From: owner-xsi(at)Softimage.COM [mailto: owner-xsi(at)Softimage.COM] On Behalf Of guillaume laforge Sent: 27 November 2006 08:42 To: XSI(at)Softimage.COM Subject: Showing current xsibatch image file with imf_disp




Hi,

 I'm  writing a little tool for rendering and I'm wondering if it is
possible to automatically open the current rendered file with imf_disp.exe ?
 My command simply launch a "low sampled" render of the selected passes with
xsibatch. I added this line to open imf_disp.exe :
XSIUtils.LaunchProcess("C:\\Softimage\\XSI_5.11\\Application\\bin\\imf_disp.exe")
. But is it possible to script imf_disp to open a specific image ?

 Cheers


-- Guillaume Laforge freelance TD | cg Artist my blog ! http://vol2blog.blogspot.com/


---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.