An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Under Preferences > Options, you can click and unclick the 'Use component/model color for no results'.
Does anyone know how to turn this option on/off with a tcl script?
Hi,
There is no exposed API to do this right now.
There is no available api
But by dumping the check box, I see its state variable is:
::post::optionsdialog::usepcolor
you can set it equal true to turn on and false to turn off the check box
after set it, you must call:
::post::optionsdialog::OnButtonPressed 0
because actual state variable is hidden and if you don't call that proc, it will restore the above variable!
(this is called as you click 'Apply')