Instance collection by attribute
919
2
2
-
- mzigaib
- Member
- 949 posts
- Joined: 4月 2008
- Offline
How can I create a collection from instances using VEXpression and filter by attributes like I would to in vex:
Colleciton1:
@variant==1
Collection2:
@variant==2
Collection3:
@variant==3
Or even
Collection1:
@P.y>0.5
@Collection2:
@P.y<0
Collection3:
@P.z>0
I could not find a proper way to access the complete array of instances trying to using a logic like this.
Any tips?
Thanks.
-
- fusion9
- Member
- 44 posts
- Joined: 9月 2018
- Offline
From the Documentation It seems like you need to put the vex code between {} but I can't get it to either way.
-
- mzigaib
- Member
- 949 posts
- Joined: 4月 2008
- Offline
I still find vex under LOPs a little confusing maybe we can get a improved documentation on H20.