Hello everyone,
I’m using Optimize Scene Size option in my script to delete unused Rendering Nodes.
from pymel.core import*
mel.eval("scOpt_performOneCleanup( { "shaderOption" } );")
But I can’t rid of confirmDialog asking to confirm this action. Is it possibel to bypass it?