Hello there, I've been trying to create a connectionOverride via Python, but I got stuck right away.
I have to unlink a shader from a Light.
If I had to do it in MEL that would be two simple lines:
connectAttr -force CMAT_0001_ML2:phong1SG.message lightLinker1.ignore[0].objectIgnored;
connectAttr -force LIGHTS:shadowShape.message lightLinker1.ignore[0].lightIgnored;
Manually have no problem with that, but programmatically, I got stuck right at the start:
unlink_collection = beauty_RL.createCollection('lightLinker')
unlink_collection .getSelector().staticSelection.set('lightLinker1')
override = unlink_collection.createOverride("override", "connectionOverride")
?
?
I have no idea what the steps are to set up such override on lightLinker, nor I did find any example on such issue.
Any help out there? Thanks in advance, regards,
Stefano