Jump to content
Sign in to follow this  

Add Value to Metadata

Recommended Posts

Can you add a inter value to a Forloop Metadata in houdini? if not, How can i store a inter value from a separate node not connected, just like the Forloop metadata but with a wrangle. Should i use python or would the wrangle do it? The @value is returning a 0 and @cloestpoint returns 2. I need to store cloestpoint into value.

Wrangle giving Value:

if(detail(0,"secondnode") == 1)
vector pos = point(0,"P",28);
i@cloestpoint = nearpoint(0,"intersection_p",pos);
i@cloestpoint = -1;

Wrangle not connected to any input node. Just want to store value of the above code:

i@value =  detail("../CloestPoint_to_B/snippet","cloestpoint");


Screenshot (341).png

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
Sign in to follow this