Jump to content
Sign in to follow this  
nithish24

Procedural Selection

Recommended Posts

Hi guys, How can I select rows and columns separately of such a setup procedurally into different groups.Which would be the best way to use VEX, Group SOP ??
Thank You.

screenshot.thumb.JPG.728598482d6eee61d6348c4ab4d46dd3.JPG

Share this post


Link to post
Share on other sites
Posted (edited)

Unless the grid is rotated, you could simply compare the size components of each line:

vector size = getbbox_size(0, itoa(@primnum));
i@group_rows = size.x > size.z;

Also there is no need for the convert line-node, if you set the grid to rows and columns.

grid_group.hipnc

Edited by konstantin magnus
  • Like 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
Sign in to follow this  

×