Hi,
I'm trying to add a custom user_data_float to a .ass file using htoa. It looks like I should use an operator graph or user options to do this, but the how is not clear.
Could someone point me to a simple example using htoa to do this?
Thanks!
Env info:
Houdini 18.5.563
HtoA 5.6.1.0
Arnold 6.2.1.0
This is the base .ass file.
procedural { name /obj/box_ass/procedural matrix 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 motion_end 0 id 7549499 filename "/home/artist/Desktop/detailAttrOverride.ass" declare frame constant FLOAT frame 1 declare fps constant FLOAT fps 60 declare _obj_path constant STRING _obj_path "/obj/box_ass" }And I'd like to add my user_data_float
test
to the end like this:procedural { name /obj/box_ass/procedural matrix 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 motion_end 0 id 7549499 filename "/home/artist/Desktop/detailAttrOverride.ass" declare frame constant FLOAT frame 1 declare fps constant FLOAT fps 60 declare _obj_path constant STRING _obj_path "/obj/box_ass" declare test constant FLOAT test 5 }
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
You can use a set_parameter operator to add user data to the procedural node (at render time). But that won't insert it into the ass file on disk.
All you need is an assignment expression like float test = 5.0