Jump to content

save each class seperately


Recommended Posts

a bit complicated to explain, but I'm sure its an easy stuff for you. I want to save classes from an fracture setup seperately for further, later use.

I use a delete SOP with @class=`$F` as group identifier and delete the unselected. So I can save out in a file sop each class seperately.

BUT: in my solution it misses "class0". How I could mange this in the delete sop.... @class=`$F`-1 (btw wont work cause about the syntax. What would be the right syntax for it?)

AND how I could solve this whole dilemma in a single attribwrangle? 

Thanks in advance




also tried with a wranglenode before the delete:


Edited by Follyx
Link to comment
Share on other sites

Not in the computer right now but in the delete node should be $F-1 (since is just pretty much an id for prims or pts) (if you havent changed anything before) if not you can re name the  in wrangle i@class + 1

Edited by Sepu
Link to comment
Share on other sites

my worm from my head yesterday is gone...:)

Yep thanks. That was I'm looking for; but yesterday... no chance.

well, Its not very elegant. Want to solve it via hscript and/or vex.

Thanks to both. The once help I'm missing now is the pointwrangle approach. Would be great if someone could support me here as well.



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

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