I am looking for advice on how to create a context options list using Houdini Python HOM.
For example I'm trying to create in python a context option like:
Label: Shot
Type: Int Menu
Value : label Shot01 value: 1
Value : label Shot02 value: 2
and so on?
I've attached a screenshot as reference.
Any help would be appreciated.
Context Options Python List
2256 1 0- nbjsargent
- Member
- 7 posts
- Joined: Feb. 2009
- Offline
- simon_o
- Member
- 112 posts
- Joined: Oct. 2011
- Offline
Look into hou.contextOptionConfig() ..on how to format the ui configuration and hou.setContextOptionConfig() to actually apply it.
To be able to set the setContextOptionConfig, you first need to create the context option itself (for example via hou.setContextOption("shot", "somevalue"))
To be able to set the setContextOptionConfig, you first need to create the context option itself (for example via hou.setContextOption("shot", "somevalue"))
Pipeline @ RISE Visual Effects Studios
-
- Quick Links