RE: exporting shapes

Date : Thu, 1 Jun 2006 09:08:34 +0100
To : <XSI(at)Softimage.COM>
From : "kim aldis" <kim(at)aldis.org.uk>
Subject : RE: exporting shapes
e is just a jscript error object that contains pertinent data if an
exception is caught. You'll need to dig around in the MS docs for the
details but, amongst other things, you can dig out useful information about
why the exception was caught. try Logmessage( e.message ); There should be
an error number there too, useful for catching specific types of errors. You
can, I think in jscript, raise errors yourself if you want to.

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of
André Adam
Sent: 01 June 2006 07:38
To: XSI(at)Softimage.COM
Subject: Re: exporting shapes

(e) serves as a container to "quarantine" the catched error so that is
doesn't crash out your script. You can give that any name you prefer like
(NoVCPropFoundError), in case you're into prose... ;)

Cheers!

    -André


David Gallagher wrote:

>
> This is what I wound up with:
>
> Clone(null, null, 1, 1, 0, 0, 1, 0, 0, null, null, null, null, null, 
> null, null, null, null, null); FreezeObj(null, null, null); try { 
> removeVertexColors()} catch (e){} ExportDotXSI(null, null);
>
>
> I have no idea what the (e) does. I just kludged my way through trying 
> to put in error catching.
>

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



---
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.