documentation for toolutils

   3754   7   4
User Avatar
Member
1744 posts
Joined: Oct. 2010
Offline
Looking at previous threads, it appears that the best way to get documentation about toolutils module is to find the corresponding py file in this folder

C:\Program Files\Side Effects Software\Houdini XX.X.XXX\python26\lib

However, I cannot seem to find the actual module in there even after string searches inside of the modules in the folder and subfolder. Which file should I be looking for?

Thanks!
-G
User Avatar
Member
1594 posts
Joined: Nov. 2006
Offline
You need to be looking in the Python folders located in $HFS/houdini.

For example, C:\Program Files\Side Effects Software\Houdini 12.0.642\houdini\python2.6libs
Graham Thompson, Pipeline Supervisor @ Digital Domain
User Avatar
Member
1744 posts
Joined: Oct. 2010
Offline
ah perfect! thank you!
-G
User Avatar
Member
2 posts
Joined: Feb. 2018
Offline
Hello,
for future visitors looking for toolutils documentation - you can read it here:
https://jtomori.github.io/houdini_additional_python_docs/toolutils.html
[jtomori.github.io]

And you can also find other modules here:
https://jtomori.github.io/houdini_additional_python_docs/
[jtomori.github.io]

Best,
Juraj
User Avatar
Member
180 posts
Joined: Dec. 2011
Offline
*Cue Hallelujah chorus*
User Avatar
Member
524 posts
Joined: Feb. 2016
Offline
Hello, why is the module toolutils separated from hou? And why the documentation is not on sidefx? Is it a module created by other people? I'm confused


Can I do the following with just the hou module, without toolutils?

import toolutils
viewer = toolutils.sceneViewer()
viewer.displayRadialMenu("myCustomRadialMenu") 

I'm not able to get an instance of the sceneViewer class just with the hou module
any help welcome!

cheers
Edited by Andr - Feb. 3, 2019 09:29:54
User Avatar
Member
470 posts
Joined: Dec. 2006
Offline
Andr
import toolutils
viewer = toolutils.sceneViewer()
viewer.displayRadialMenu(“myCustomRadialMenu”)


viewer = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer)
viewer.displayRadialMenu("myCustomRadialMenu")
https://vimeo.com/user43923185 [vimeo.com]
https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
524 posts
Joined: Feb. 2016
Offline
thanks a lot Vux!
  • Quick Links