Jump to content

Hide The Ortho Grid in Python


gemini

Recommended Posts

Hi Szabolcs,

I am using this script:

for pane in hou.ui.curDesktop().paneTabs() :
    if pane.type() == hou.paneTabType.SceneViewer :
        settings = pane.curViewport().settings()
        settings.setDisplayOrthoGrid(not settings.displayOrthoGrid())

 

Unfortunately, this change is not immediately reflected in the Perspective viewport. I sent RFE (quoted below), and SideFX logged this in their database; Bug (ID# 100052)

Please, if I use this script to toggle the grid in the perspective view,
then the change is not reflected immediately. I have to switch to Ortho view 
and back to Perspective to see the grid updated (toggled on/off)

 

If the same issue happens to you, please RFE it too and mention the Bug ID#

I am using version 18.0.353

Edited by ikoon
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...