carthick Posted June 13, 2020 Share Posted June 13, 2020 Trying to learn more complicated VEX .. this is an example.. and the color here is Cd= {1,0,.2} as you can see below, I did a @Cd.b==0.2 and made a group .**this works ** but the question is .. how do i do something more complicated. i want to create a group with this (@Cd.r==1) && (@Cd.g==0) && (@Cd.b==0.2) but see the error, when i try >> (@Cd.r==1) && (@Cd.g==0) && (@Cd.b==0.2) ps: this is only an example. i want to do a little but more complicated VEX without a wrangle or without multiple nodes.. thanks in advance Quote Link to comment Share on other sites More sharing options...
bunker Posted June 13, 2020 Share Posted June 13, 2020 (edited) well, this is not VEX, it's a group syntax have a look at "Group syntax" in the help this seems to work @Cd.r=1,@Cd.g=0,@Cd.b=.2 and you don't need "==" because it's not VEX and this is VEX (in a wrangle) if(@Cd=={1,0,0.2})@group_mygroup=1; Edited June 13, 2020 by bunker 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.