Hyperview - Use component/model color for no results
Altair Forum User
Altair Employee
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?
0
Answers
-
Hi,
There is no exposed API to do this right now.
0 -
Hi,
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')
0