Jump to content

attribute binding in Attribute Vop


mirHadi

Recommended Posts

hello

 

As a beginner , sometimes I'm totally lost in nodes and bindings.. etc.

 

- I don't understand the Attribute Bindings tab in Attribute Vop Sop.

don't we bind attribute inside the Attribute vop with Bind node?

 

- and, how can I add multiple attributes at once to the points?

(binding seems not to map the variables)

 

the way I did it, I used the Attribute wrangle node , like f@ foo 1, f@ foo 2... and so forth , is this right?

of course this also doesn't create a local variable to be used by other nodes!!

 

thank you in advance

Edited by haaranoos
Link to comment
Share on other sites

Attribute Bindings is to allow you to easily swap input attributes to work on, something like if you have wrangle like

f@result = f@value1 + f@value2;

you can define in bindings tab what attribute each one of them will bind to instead of literally binding to attributes value1, value2 and result.

 

as for creating a variable you can use  addvariablename() VEX function or Addattribute VOP. As well as Attribute Create SOP with Write Values Turned off

 

but for most of the cases you should not need to use variables

for Copy SOP for example just provide attribute names in Attribute Stamps parm 

Link to comment
Share on other sites

  • 3 weeks later...

Thank you anim!

sorry for delay ..

I've got to do some more reading.. to see better what is going on!

 

in the case of attribute binding tab , 

If I open an old file, seeing through just vex code may be confusing to see what attribute is bind to what parameter.. , for example, value 1 refers to what , need to go to tab come back again tab back and forth!

 

Ps: now It makes sense.

Edited by haaranoos
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...