{scripting] pass object in Python using Object Model

Date : Thu, 10 Aug 2006 08:27:20 -0700
To : XSI_MailingList <XSI(at)Softimage.COM>
From : Greg Smith <greg(at)stanwinston.com>
Subject : {scripting] pass object in Python using Object Model
I am curious about this, I want to get a pass and access the Properties
and Parameters of that pass using the Object Model. 

what I am trying to avoid is copious use of the following syntax:
Application.SetValue("Passes." + myPass + ".RenderOptions.PixelRatio",
1, null)

So e.g. lets say I get the current pass object using:
myPass = Application.ActiveProject.ActiveScene.ActivePass

It seems that when I get the pass object the only parameter that I am
able to access on a pass object is '.Name', and I can't seem to get
anything else.

So if anyone knows the answer to my dilemma, feedback will be much
obliged! 

Greg



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