Jump to content

Add Value to Metadata


Shadowjonny

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);
}
else
{
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...