Jump to content

How to spell piece* in attribwrangle vex?


Recommended Posts

it really depends on how you want to use it, if you want to use it to check groups with something like: primgroup(0,"piece*",@primnum),

I do not know for sure if that will work with wildcards,

 

what you could do if that doesn't work is, if it is a complete numerical sequence 0-10 without any missing numbers for instance,

you could use an integer parameter and use the expression:

argc(primgroupmask("../nodeName","groupRootName*))

to the get the amount of groups and then load this parameter inside

and loop over all groups to check for each one if the primitive is in that group.

 

Or if you just want to only loop your code over certain groups, just put that in the group input box of the node.

 

Kind regards,

 

Twan

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