Created
June 19, 2020 16:49
-
-
Save gfxhacks/efbeb46d16ed4fd12c7ad4b02da5172f to your computer and use it in GitHub Desktop.
Some of the available Parameter types in Houdini: https://gfxhacks.com/create-parameters-in-houdini-with-python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# float | |
p = hou.FloatParmTemplate("float1", "Float 1", 1) | |
# button | |
p = hou.ButtonParmTemplate( | |
"btn1", | |
"Button 1", | |
script_callback='print("Hello World!")', | |
script_callback_language=hou.scriptLanguage.Python | |
), | |
# checkbox | |
p = hou.ToggleParmTemplate("check1", "Checkbox 1", default_value=True) | |
# separator | |
s = hou.SeparatorParmTemplate("sep1"), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment