adding surfaces to singleshadingswitch using MEL

i am trying to add selected objects to the single shading switch,

well i first run the project i get this error

procedure AEswitchAddButtonCB not found
, but later if i once manually open single shading switch i click on Add Surfaces i have this procedure in memory,

my ultimate objective is to load the items in shape column of singleshadingSwitch using this method


AEswitchAddButtonCB ($sssName) input inShape inSingle;

but i also tried using this method


listConnections -source true -destination false "vdfvsss.input[1]";
listConnections -source true -destination false "vdfvsss.input[1].inShape";

doesnt work…

can anyone help how cani add items to single shading swithc using mel…

No Responses to “adding surfaces to singleshadingswitch using MEL”

Post a Comment