Jump to content
Sign in to follow this  

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.


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.


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