🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Hyperview - Use component/model color for no results

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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?

 

 

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    Hi,

     

    There is no exposed API to do this right now. 

    User: "tinh"
    Altair Community Member
    Updated by tinh

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