Use the NestedObjects collection generic attribute to access these things. Ex:
for oThing in oPass.NestedObjects:
Application.LogMessage( oThing.FullName )
Cheers
Bernard
On 8/10/06, Greg Smith <greg(at)stanwinston.com> wrote:
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
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi