Alex Rahman

RGaal

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Hotkeys do not work for all menu items? 2024年9月24日10:34

And the last problem remains - Coincident points. Search did not help me at all, there is no such function in python or it is called something strange.
If someone knows how to enable this function with a script - please let me know.

Hotkeys do not work for all menu items? 2024年9月24日10:29

If someone needs it - switch via hotkey to matcap and back.
I am constantly amazed at how easy Houdini could be convenient, but how inconvenient it is. I experience constant cognitive dissonance.

scene_viewer = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer)
viewport = scene_viewer.curViewport()
settings = viewport.settings();
current_material = settings.getDefaultMaterialType()
if current_material == hou.viewportDefaultMaterial.MatCap:
     settings.setDefaultMaterialType(hou.viewportDefaultMaterial.Simple)
else:
     settings.setDefaultMaterialType(hou.viewportDefaultMaterial.MatCap)
viewport.draw()

Hotkeys do not work for all menu items? 2024年9月24日7:39

Thanks, friend. It's nice that people are still defeating the silicon idols.