Group by Filter Expression in H16

   9520   4   1
User Avatar
Member
19 posts
Joined: 11月 2014
Offline
Hi, how i can do this in H16? Groupexpression is dont work.

Attachments:
group.jpg (64.6 KB)

User Avatar
Member
471 posts
Joined: 11月 2013
Offline
Hello.
Simply you can do that by adding a Group Create node and a Group Expression node afterwards.
HIP file is here.

Attachments:
Group.hip (58.6 KB)

User Avatar
Member
333 posts
Joined: 10月 2012
Offline
Nima
Hello.
Simply you can do that by adding a Group Create node and a Group Expression node afterwards.
HIP file is here.

I think he is asking for something else.


here is a vex wrangle using getbbox to find the min and max values for XYZ.

v@min = {0.0, 0.0, 0.0 };
v@max = {0.0, 0.0, 0.0 };
getbbox(@min,@max);
@group_xmin = @P.x <= @min.x;
@group_xmax = @P.x >= @max.x;
@group_zmin = @P.z <= @min.z;
@group_zmax = @P.z >= @max.z;

Attributes to Create: min max group_xmax group_zmin group_zmax group_xmin
User Avatar
Member
318 posts
Joined: 1月 2013
Offline
The H16 series added VEX functions who already know how to do what you need.
getbbox_center, getbbox_max, getbbox_min, getbbox_size()

Therefore, it works,
@P.x <= getbbox_min(0)[0]
User Avatar
Member
19 posts
Joined: 11月 2014
Offline
Thanks to all
  • Quick Links