Grouping by expression not working properly

   645   2   1
User Avatar
Member
21 posts
Joined: Aug. 2014
Offline
Hi there,

I'm trying to select a group by expression, the selection does not seem to pick up all matches. I cannot figure out why, attached the file.

I would be grateful for a solution.

Greetings,

Christian
Edited by Schmauch - Oct. 20, 2023 06:53:27

Attachments:
groupselect.hiplc (153.3 KB)

User Avatar
Member
2042 posts
Joined: Sept. 2015
Offline
It's because you are dealing with floating point values.
To show that and see, just before your expression node, put down a primitive wrangle with just
 @N;
Then look at the values in a geometry spreadsheet with precision set to full.

You could just use > 0.999 rather than == 1.
Edited by BabaJ - Oct. 20, 2023 10:25:14
User Avatar
Member
21 posts
Joined: Aug. 2014
Offline
Thank you for making me aware of that. I had realized that I was dealing with floats, precision "set to full" was eluding me
  • Quick Links