Jump to content

attribute name


doldory

Recommended Posts

hi guys

I'm a total beginner and have a newbie question!

I'm a bit confused about creating attributes in the nodes like attribute create or bind export.

It seems like, if I type an already existing attribute name like 'v' or 'n' , they automatically set velocity and normal value. But if I type some other name like 'blahblah', they create custom attribute and set a value for it.

 

Do I understand this correctly?

Thanks in advance.

Link to comment
Share on other sites

Yup that is correct ;)

if you are creating these attribs by binding in wrangles, you can specify the attribute type with a prefix (or set the type in the bind export node in vops)

in wrangles for example, you can use i@blahblah to create an integer attrib, or v@blahblah to make it a vector(float3)
if you do not define the type, by default it will become a singular float attribute type.

  • Thanks 1
Link to comment
Share on other sites

7 hours ago, Fenolis said:

Here is a list of the attributes that Houdini natively uses: https://www.sidefx.com/docs/houdini/vex/snippets.html#known

 

19 hours ago, acey195 said:

Yup that is correct ;)

if you are creating these attribs by binding in wrangles, you can specify the attribute type with a prefix (or set the type in the bind export node in vops)

in wrangles for example, you can use i@blahblah to create an integer attrib, or v@blahblah to make it a vector(float3)
if you do not define the type, by default it will become a singular float attribute type.

 

Thank you all! :D:wub::)

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