Jump to content

setting the dop io preset

Recommended Posts

in DOP IO node

i am trying to set the preset as PYRO using





but this doesn't set the preset really.. any ideas?

Share this post

Link to post
Share on other sites

That 'presets' parameter is calling a callback python script.


You could try this:

theGeo = hou.node('/obj/geo1/dopio1')

# Keyword argument needed by the internal invokePresetMenu function
myArgs = {'node': theGeo, 'script_value0': 'pyro'}

# The internal python function called by the presets parameter.


Edited by galagast
  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now