Jump to content

getting attribute's value outside POP context


Doum

Recommended Posts

Hey,

Anyone can help me with that? I'm trying to visualize an expression inside houdini's viewport by creating a curve using the wanted attribute value, but I'm stuck at a certain point.

I'm trying to get an attribute's value of a specific particle created inside a popnetwork from a new geo node (add + point SOP).

I tried something like this... points("../../ emitter/popnet1",1,"Spring") I'm not sure if I'm using the right expression?

If there is a easier way to visualize expression in a graph in houdini, let me know...

I hope it's clear?

Someone know a place where I could learn the basic of expression and getting values inside houdini??

thanks

Link to comment
Share on other sites

looks almost right off the top of my head (no s on the points though, ohh and spaces).

point("../path/to/node", pointNumber, "attribute", index)

so:

point("../../emitter/popnet1", 1, "spring", 0)

Not sure on the uppercase S on Spring. Check it out and see.

Link to comment
Share on other sites

Thanks for the help, I had almost the right expression :). btw with "point" I have to add the index at the end too. And my bigger problem was that I hadn't check the "match by attribute" box in the pointSOP.

Now that it's working is there a way to create a curve base on that point transformation ? I'm trying the trail, but it's doesn't seem to work

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...