How to turn on Reference Plane by default?

   2005   5   0
User Avatar
Member
645 posts
Joined: Nov. 2013
Offline
Hi,

I have to click this button every starting Houdini.
How to turn on Reference Plane by default?

Thanks!

Attachments:
reference plane.png (18.5 KB)

User Avatar
Member
38 posts
Joined: July 2019
Offline
Press D in the viewport to get display options.

Then go to grid, click display Ortho Grid (it might be already on, but if it is it probably isn't your default), then importantly, click save as default.

Attachments:
Grid.PNG (41.1 KB)

User Avatar
Member
645 posts
Joined: Nov. 2013
Offline
FDX3245
Press D in the viewport to get display options.

Then go to grid, click display Ortho Grid (it might be already on, but if it is it probably isn't your default), then importantly, click save as default.

Just it! Thank you!

Any way to set Construct Plane on as default too?
User Avatar
Member
38 posts
Joined: July 2019
Offline
I'm not sure there is. I don't really use it, so don't take my word that there isn't.

You probably know this but you can bring it up by pressing ‘/’. And you can right click on its icon, click ‘construction parameters’ and then set its defaults. So that's just twice as much work (once to open Houdini), once to display the construction plane.

Plus there are some options under ‘preferences/interactive tools’.

Probably an easy RFE to get implemented. They could add it under the grid tab.
User Avatar
Member
206 posts
Joined: Jan. 2016
Offline
Hi Jerry, to set Construct Plane on as default, you could put this python code in the 123.py or 456.py

import hdefereval

def functionToBeExecutedOnStartup():
    for pane in hou.ui.curDesktop().paneTabs() :
        if pane.type() == hou.paneTabType.SceneViewer :
            cplane = pane.constructionPlane()
            cplane.setIsVisible(True) 
   
# executeDeferred, because we have to wait for the UI
hdefereval.executeDeferred(lambda: functionToBeExecutedOnStartup())

More information about the 123.py and 456.py is here:
https://www.sidefx.com/docs/houdini/hom/locations.html#startup [www.sidefx.com]
User Avatar
Member
645 posts
Joined: Nov. 2013
Offline
Thanks for your replies!
  • Quick Links