HDA Asset viewer state node?

   1899   1   2
User Avatar
Member
55 posts
Joined: Nov. 2015
Offline
Hello,
I'm trying to create a digital asset that allows the user to user a paint curves on the surface of the input geometry. How would I set the the viewer state of the HDA to that of the paint node inside in the HDA's network?

Thanks!
User Avatar
Staff
450 posts
Joined: Feb. 2018
Offline
Take a look at $HH/viewer_states/examples/stroke_demo.hip and $HH/viewer_states/examples/drawcurve.hda

The HDA uses a python state implemented in $HH/viewer_states/sidefx_stroke.py.

You can also implement your state in the HDA as well as discussed in the documentation: https://www.sidefx.com/docs/houdini17.5/hom/python_states.html#impl [www.sidefx.com]
Edited by mabelzile - Sept. 25, 2019 12:16:57
  • Quick Links