Hyperview - Use component/model color for no results

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

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?

 

 

Tagged:

Answers

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited July 2019

    Hi,

     

    There is no exposed API to do this right now. 

  • tinh
    tinh Altair Community Member
    edited July 2019

    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')