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 <[email protected]>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
>

Reply via email to