Atribute question

   3589   3   1
User Avatar
Member
175 posts
Joined: July 2005
Offline
Is there a possibility to create a group with points which attribute has certain value?
For example I apply a paint SOP on a geometry, it returns Cd attribute.
I'd like to create a group of points which Cd is between this and that.

I think it is possible but I don't have an idea how to do it. Place an expression into group channel? Can I access attribute values in expressions? Or maybe some VEX thing.

Thanks

Peter
User Avatar
Member
7899 posts
Joined: July 2005
Online
Group SOP:
- Entity: Points
- Operation: Group by Expression
- Filter Expression: $CR > 0.5 (for example)
User Avatar
Member
175 posts
Joined: July 2005
Offline
Ha,

I got it, $CR is point red color but I wanted any attribute. Thanks for the suggestion though.
I digged in the expression cookbook to find the “point” expression, it lets get any attribute from any SOP.
How great!

cheers

P
User Avatar
Member
276 posts
Joined: July 2005
Offline
It may also be worthwhile having a look at the Partition SOP. With it you can effectively convert attributes to groups. The arrow next to the rule field has a few examples of how it is used.

George.
  • Quick Links