Lasso/Laser as Default?

   2505   4   1
User Avatar
Member
1267 posts
Joined: 3月 2014
Offline
Is it possible to fire up Houdini with the lasso selection or laser select mode by default?
Werner Ziemerink
Head of 3D
www.luma.co.za
User Avatar
Member
1755 posts
Joined: 3月 2014
Offline
I don't know if there's a way to achieve that, but in case you didn't know, one can quickly switch between the four modes via F2-F5.

p.s F1-F4 would've been a much better choice IMO. Help can be accessed via the Help menu or more often, by clicking the help icon attached to each node's PPG
User Avatar
Member
1267 posts
Joined: 3月 2014
Offline
I'm using the hotkeys, but would like Houdini to start up with lasso mode active. Nothing in the help file about setting defaults for this.
It should be possible by setting environment variables I guess.
Werner Ziemerink
Head of 3D
www.luma.co.za
User Avatar
Member
538 posts
Joined: 12月 2006
Offline
Just create a file houdini14.0/scripts/123.py with something like this:

import hou, toolutils

def init_after():
toolutils.sceneViewer().setPickStyle( hou.pickStyle.Laser )
hou.ui.removeEventLoopCallback( init_after )

hou.ui.addEventLoopCallback( init_after )
https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
1267 posts
Joined: 3月 2014
Offline
Thank you vux. That works perfectly.
Werner Ziemerink
Head of 3D
www.luma.co.za
  • Quick Links