How do I query the amount of points of a surface

   2293   3   0
User Avatar
Member
2 posts
Joined: Nov. 2015
Offline
Hi guys, I'm very new to Houdini and I wanna ask a beginner question. Is there any node that allow me to query the amount of point on a given surface.
For example I have a grid and I want to be able to query the total amount of points depend on how I change the Rows and Columns.

thanks in advance.
User Avatar
Member
4723 posts
Joined: Feb. 2012
Offline
npoints(“nodepath”)
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
User Avatar
Member
24 posts
Joined: Aug. 2015
Offline
Add an attribute create sop and set the type on detail if you prefer. the value should be $NPT
Philomath
User Avatar
Member
2 posts
Joined: Nov. 2015
Offline
Mostafa kh
Add an attribute create sop and set the type on detail if you prefer. the value should be $NPT

it worked like a charm! Thank you
  • Quick Links