Re: [script] Find preset by class id

Date : Wed, 12 Apr 2006 09:49:48 -0400
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : Re: [script] Find preset by class id
Thanks everyone for the advice.

I'm not such a big fan of ConnectFromProgID, simply because the string
argument is not very clear. Somehow I feel more at home with a preset
name.

Anyway I ended up sort of hard-coding the preset paths in my
dictionary, however I got the job done fast by using a script that
would walk down the DSPresets\Shaders directory and map the preset
file name to the shader names I had in my dictionary, and would
ultimately re-write my dictionary module. Saved me a few hours of
boring and tedious labor!


Cheers
Bernard

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