houdini-viewport-states
Installation
SKILL.md
Houdini Python Viewport States
This skill helps you write, edit, and improve Python viewer state code for Houdini 21.0.
What are Python Viewer States?
A viewer state controls how Houdini interprets mouse movements, clicks, keys, and other input in the 3D viewport. Every interactive tool in Houdini (Rotate, Translate, the Handles tool) is a viewer state. Houdini lets you create custom viewer states in Python to build your own interactive viewport tools.
A custom state can:
- Display and respond to handles for parameter editing
- Respond to mouse, keyboard, and tablet events
- Display guide geometry (drawables, gadgets)
- Let users select geometry components
- Show context menus and info panels (HUD)
- Wrap actions in undo blocks
- Work with or without a specific node (nodeless states)