Hi, I think you can get it using ConnectionStackInfo() and parsing the xml, something like this...
from sipyutils import si, siut from xml.dom.minidom import parseString oParam = si().Dictionary.GetObject("Sources.Materials.DefaultLib.Scene_Material.Phong.diffuse.red") sData = siut().DataRepository.GetConnectionStackInfo(oParam) for sObj in parseString(sData).getElementsByTagName("object"): print sData.toxml() Cheers! On Mon, Sep 24, 2012 at 10:06 PM, Steven Caron <car...@gmail.com> wrote: > i believe you want Parameter:GetSource() > > > http://download.autodesk.com/global/docs/softimage2012/en_us/sdkguide/index.html?url=si_cpp/classXSI_1_1Parameter.html,topicNumber=si_cpp_classXSI_1_1Parameter_html > > s > > > On Mon, Sep 24, 2012 at 1:01 PM, Nicolas Burtnyk > <nico...@redshift3d.com>wrote: > >> Hello list, >> >> I'm trying to figure out if there's a quick way to get all parameters >> that are linked to a given parameter via expressions. >> For example, say I link the the red diffuse color of one shader to >> another: >> >> Application.SetExpr("Sources.Materials.DefaultLib.Lambert.Lambert.diffuse.red", >> "Sources.Materials.DefaultLib.Scene_Material.Phong.diffuse.red", "") >> i.e. the Scene_Material's diffuse.red drives the Lambert's diffuse.red. >> >> Now given "Sources.Materials.DefaultLib.Scene_Material.Phong.diffuse.red" >> how do I find out that it is being used to drive >> "Sources.Materials.DefaultLib.Lambert.Lambert.diffuse.red"? >> >> Thanks in advance for any tips! >> >> -Nicolas >> > >