@ptnum > 0

   2454   3   1
User Avatar
Member
240 posts
Joined: April 2014
Offline
Simple Question:

I'm trying to create a group that includes all points whose ptnum is greater than 0. Thus:



However, I get this instead:



I've tried a number of different variations, with no luck.

What would be the correct expression to get every point with a ptnum greater than 0 to be in my group?

Thank you!
Luke
Edited by Luke Letellier - July 19, 2019 11:47:04
User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
* ^0

* = everything
^n = except n.

this syntax works also with attributes and groups handling
Edited by Andr - July 19, 2019 12:31:53
User Avatar
Member
8538 posts
Joined: July 2007
Offline
since @ptnum is not an attribute you can't use ad-hoc group syntax (if it was an attribute, they you would still need to make sure there are no spaces in your expression)

but for what you are doing you can use Group Expression SOP with your expression as you have it
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
240 posts
Joined: April 2014
Offline
Thank you Andr & Tamte! The background info helps me understand what's going on under the hood.
Edited by Luke Letellier - July 19, 2019 12:25:33
  • Quick Links