How to stop Graphics update in HyperView

nehasharma
nehasharma Altair Community Member
edited October 2020 in Community Q&A

Hello,

How can I stop HyperView graphics to get updated while running a script.

Since to capture images there is lot of mask, unmask and draw operations while the script is running.

It seems to be flickering in HV window. Is there any way to stop graphics update in HV however it should capture images as well.

 

Thank you

Regards,

Neha

Answers

  • BG913
    BG913 Altair Community Member
    edited July 2019

    Check the 'block redraw'command. I'm not sure about the exact command name but those words appear in the command. For images just type 'image' in the search option in hypermesh reference guide. I'll gt back if I get the exact command names.

  • DEEPAKSREEDHARK
    DEEPAKSREEDHARK Altair Community Member
    edited March 2020

    @nehasharma 

     

    use the following:

     

    hm_blockredraw 1      #stops graphic window from refreshing

    hm_blockredraw 0      #resume graphics window update

     

    You can do the same thing from Preferences > Script performance

     

    Blocking redraw can help optimize code runtime!