How to Get the pointbumber of points in a group

   854   1   0
User Avatar
Member
76 posts
Joined: 2月 2017
Offline
Hello everyone,

I am trying to get the number of points in a group with the pointlist fuction, but having it erroring.
If you can help me out it would be much appreciated.

Thanks
Francesco

Attachments:
Pointlist.hip (74.3 KB)

User Avatar
Member
900 posts
Joined: 2月 2016
Offline
hi, if you read the error message you see that that function is undefined, which means it doesn't exist.
That's because it's an expression function (hscript) and you are trying to use it in a vex context.

You should use vex functions in a vex wrangle.
In your case this one should suit for your needs
https://www.sidefx.com/docs/houdini/vex/functions/inpointgroup.html [www.sidefx.com]
  • Quick Links