Jump to content

[SOLVED] Get point attribute value (string) in node parameters


JJ FX

Recommended Posts

Hi,

So I have a string point attrib on a sop node, let's say it's s@this = "Yellow".

When I bring in the attribute into node parameters with houdini expression point("../node",  0, "this", 0) it always evaluates as 0 unless the string is empty s@this = "", then it evaluates as -1. So I guess point() doesn't see string attribs.

But what I need is a string and the exact value of that string! I don't care if it's houdini expressions or python, as long I can just get this attribute and use it inside node parameters!

Edited by JJ FX
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...