Jump to content
Vorkosigan

Selecting geo elements by polycount

Recommended Posts

Hello there,
I simulated a bunch of geometries, street rubbles, cobble stones etc and now that I have my final geo, I would like to delete a bunch of cobble stones, so i need to be able to select them by polycount, that would be really dope.
What would be the vex way to do that ?

Thank you !


Tanguy

Share this post


Link to post
Share on other sites

Hi,

If you create a primitive connectivity attribute using the Connectivity SOP, you can do something like this using a Primitive Wrangle:

if ( findattribvalcount ( 0, "primitive", "class", i@class ) < chi("polycount") )
    removeprim ( 0, @primnum, 1 );

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×