Jump to content

wrangle attributeElementSize


Recommended Posts

hello,

Is it possible to set the number of elements of an attribute from a wrangle node?

 

For example I'd like to change and set my own varmap from a wrangle node, I can change the values of different indexes, but I don't know how to add other elements to it.

I don't even know how to create a brand new attribute with custom element size.

 

hip file attached

 

thank you!

 

 

 

attribElem.hip

Link to comment
Share on other sites

You can add variable mapping in a wrangle like this:

addvariablename(0,"attribute","ATTRIBUTE");

You don't specifically need to use caps for the mapping name but it follows the default behavior of the attribcreate node so hey why not. 

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