How can I list the selected shader in the multilister via MEL? Just need to get it's name so I can edit some of it's parameters in a custom window.
Thanx
~Garry
How can I list the selected shader in the multilister via MEL? Just need to get it's name so I can edit some of it's parameters in a custom window.
Thanx
~Garry
Is this what you wanted? simple, but maybe it's what you need...
string $texobject[];
$texobject = ls -sl;
Multilister;
multiListerSelectMenuCmd "multiListerPanel1Window|TearOffPane|multiListerPanel1|multiListerPanel1" "multiListerPanel1SelectMenu_HighlightSelected_" multiListerPanel1;
or maybe this?
string $texobject[];
$texobject = ls -sl;
listConnections -source true -destination false objectsSG.surfaceShader;
Thanx for the reply.
What I want to do is select a shader in the multilister and then have my script create a window that will control the transparency of that shader. So I need a way to know what shader is selected. I know ls -sl is good for getting the selection, but how to do that for the multilister?
Thanx for any info you can provide.
~Garry