Jump to content

how to use an attribute in a parameter?


amin.khormaei

Recommended Posts

It depends what and where you wanna do but in general: 

1) in most cases, point, prim and detail expresion functions work well: point('../sourcenode', @ptnum, 'attribname', 0);

2) in some cases, simple @attribname will work.

3) some nodes will take attributes automatically if they have an expected name and class (i think @width point attrib is automatically picked up by polywire SOP for instance)

the first method is overally the most reliable. 

  • Like 2
  • Thanks 1
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...