Jump to content

general: attribute reading / setting in any node


Recommended Posts

Basic question: basically its not possible to set any attribute/parameter in any node. I.E. scatter node, force toal count (npts). There is no way to set this attribute via a i.E. Detail wrangle? Any other ways? Python? Or are some attributes not changeable from outside the node? Is this basically true?

Edited by Follyx
Link to comment
Share on other sites

Depends on what you mean exactly. In your example you can create a detail attribute and grab it in the parameter with expression, for example: detail(opinputpath(".", 0), "amount", 0)

That will grab the value of detail attribute called "amount" from the node that is connected in the input.

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