Maybe take a look around line #1044
https://github.com/EricTRocks/ET_Tools/blob/master/workgroup_ET_Tools/Addons/ET_PassManager_v3.0/Application/Plugins/ET_PassManager.py


Definitely not as straight forward as 2011+

--------------------------------------------
Eric Thivierge
http://www.ethivierge.com


On Tue, Jul 24, 2012 at 6:12 PM, Milan Vasek <i...@milanvasek.com> wrote:

>  Thanks. And is there another way to find out what is connected to Env.
> Shader Stack port in 2010?
>
> Milan Vasek
> 3d artist
> http://www.milanvasek.com
>
>
> From: softimage-boun...@listproc.autodesk.com
> To: softimage@listproc.autodesk.com
> Cc:
> Date: Tue, 24 Jul 2012 18:07:57 +1000
> Subject: Re: python in softimage2010
>
> > They changed that in 2011 to support some new features I believe
> (.xsishaders files).
>
> > --------------------------------------------
> > Eric Thivierge
> > http://www.ethivierge.com <http://www.ethivierge.com>
>
>
> > On Tue, Jul 24, 2012 at 6:02 PM, Milan Vasek <i...@milanvasek.com>wrote:
>
>>  > Hi. My friend need some help with python in Softimage. He says that
>> this thing was working in Softimage 2011 but now we are using 2010 and it´s
>> not working here (the result is none instead of a list...) Could anyone
>> help, please?
>> >
>> >
>> > log = Application.LogMessage
>> > root = Application.ActiveSceneRoot
>> > scenePasses = Application.ActiveProject.ActiveScene.Passes
>> > currentPass = Application.ActiveProject.ActiveScene.ActivePass
>>
>> > envstack = currentPass.NestedObjects('EnvironmentShaderStack')
>> > log(envstack)
>> >
>> >
>> >
>> > cheers
>> >
>> > Milan Vasek
>> > 3d artist
>> > http://www.milanvasek.com <http://www.milanvasek.com>
>>
>
>

Reply via email to