Can we control ramp parameters via script?

   2183   2   0
User Avatar
Member
453 posts
Joined: 2月 2013
Offline
Is there a code in Houdini script or Python to:

1. Add points to a ramp parameter?

2. Find points on a ramp parameter? (Like getting a list of all points on the ramp parameter and where they are. - I am aware of how to get a value with chramp)

3. Move points on a ramp parameter?

4. Delete points on a ramp parameter?

- If not, then why not?^^ This would allow to make scripts that set ramp parameters to different (randomized) presets. Which sounds pretty cool to me.
User Avatar
Member
678 posts
Joined: 7月 2005
Offline
DASD
This would allow to make scripts that set ramp parameters to different (randomized) presets. Which sounds pretty cool to me.

Something like presets in this (at around 3:00) => https://vimeo.com/136122536 [vimeo.com]?

Also, have you checked this => http://www.sidefx.com/docs/houdini14.0/hom/hou/Ramp [sidefx.com] page for info on how to access ramp from Python?
User Avatar
Member
453 posts
Joined: 2月 2013
Offline
Thank you!
The python class thing with http://www.sidefx.com/docs/houdini14.0/hom/hou/RampParmTemplate [sidefx.com] seems to do that stuff I wanted. I really need to dive further into python.
  • Quick Links