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