Change background color of Hyperworks

Sid_22073
Sid_22073 Altair Community Member
edited November 2023 in Community Q&A

Hello,

In the Hyperworks version 2022.3, I would like to change the background color ( graphical area) similar legacy Hypermesh (pic below).

Where can I find this option ?

Looking forward for your help.

Kind regards,

image

Answers

  • Marine_Racollet
    Marine_Racollet
    Altair Employee
    edited October 2023

    Hello Sid,

    In the New HyperMesh, you can go to the preferences and change the theme.

    Or you can use this API in the .tcl console : 

    hwf::setbackgroundcolor , it allows you to change the background color for all windows in the HyperWorks session

    https://2022.help.altair.com/2022.1/hwdesktop/hwd/topics/reference/tcl/hwf_setbackgroundcolor_r.htm?zoom_highlight=setbackgroundcolor

     

  • Sid_22073
    Sid_22073 Altair Community Member
    edited November 2023

    Hello

    Thanks. 

    Unfortunately there is no option for background colour change in preference-->common-->application-->theme

    I do not know the exact hexadecimal value to enter in hwf::setbackgroundcolor #xxxxxx

    How can I know this value of colour ( as shown by arrow in my pic).

    Sorry I am new to tcl... !! could you please tell me where and how to add this in the .tcl

    Thanks !!

     

  • Marine_Racollet
    Marine_Racollet
    Altair Employee
    edited November 2023

    Hello,

    You need the hexadecimal color value, you can find it on internet for example : https://www.color-hex.com/
    To open the .tcl command you should go to View > Tcl console, and copy paste hwf::setbackgroundcolor #fffefc to have right background for example.

    image

    Does it answer your request?

  • Sid_22073
    Sid_22073 Altair Community Member
    edited November 2023

    Thanks for answer so far.

    can you please help me to find the exact colourvalue for legacy hypermesh as picture below.

    Its bit difficult to find from https://www.color-hex.com/

    image

     

  • Marine_Racollet
    Marine_Racollet
    Altair Employee
    edited November 2023

    I think it is not possible to have this background. Why do you want to have this color? Did you try the existing theme in the New HyperMesh?

  • Sid_22073
    Sid_22073 Altair Community Member
    edited November 2023

    This is my personal preference as I have been using Hypermesh for long time. Now, getting used to the New  interface of Hyperworks.

    In current Hyperworks (2022.3) Unfortunately, Themes does not change the background.

    It will be nice to have the background colour as user choice

    Thanks