But that doesn't explain my case I think?
while:
/print
Application.ActiveProject.ActiveScene.Passes("Pass").LocalProperties("mental
ray")/
/print
Application.ActiveProject.ActiveScene.Passes("Pass").Properties("mental
ray")/
both work with a localized mental ray property, but only
/print
The difference is *LocalProperties* accesses only the properties applied to
that object whereas the other one is the equivalent of the inherited
properties + the local properties slapped on top.
You know when you see a property in italics? That means it's inherited from
somewhere else (probably up
Thanks Gareth! I wasn't aware of the difference between properties and
localproperties.
I was confused because while I'm in another pass
/print
Application.ActiveProject.ActiveScene.Passes("Pass").Properties("Override")/
didn't work. But
/print
Application.ActiveProject.ActiveScene.Passes("Pas
You can access them by partitions local properties and then the overrides
parameters for the entries e.g. something like this:
for eachProp in eachPartition.localproperties:
if eachProp.Type == "#Override":
for eachParam in eachProp.parameters:
print eachParam
__
4 matches
Mail list logo