Hi! I'm new to VEX.
I would like to learn how to get all the points in negative X in a group. Is this a “if” statement thingy?
Thanks.
-Olivier
get every -X points in a group (VEX)
2965 3 0-
- olivierth
- Member
- 1177 posts
- Joined: April 2017
- Offline
-
- BabaJ
- Member
- 2164 posts
- Joined: Sept. 2015
- Offline
-
- tamte
- Member
- 9384 posts
- Joined: July 2007
- Offline
if you want to run any operator that accepts point groups only on certain group and only if the point in the group is in negative x then you can put this in the Group field and set Group Type to Point
(assuming your group name is mygroup)
which reads, execute for all points in the mygroup group except for points whose @P.x>=0
if you just want a group with all negative points then either:
Group Expression SOP over Points:
OR
PointWrangle SOP:
(assuming your group name is mygroup)
mygroup ^@P.x>=0
which reads, execute for all points in the mygroup group except for points whose @P.x>=0
if you just want a group with all negative points then either:
Group Expression SOP over Points:
@P.x<0
PointWrangle SOP:
@group_mygroup = @P.x<0;
Edited by tamte - Feb. 26, 2018 20:59:41
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- olivierth
- Member
- 1177 posts
- Joined: April 2017
- Offline
-
- Quick Links
