Nearpoints equivalent in Python?

   1583   1   1
User Avatar
Member
4 posts
Joined: July 2020
Offline
Hello everyone,

Is there a way to find the nearest points from a position in a Geometry using a Python node?

I didn't find any hou function resembling the Vex nearpoints, and I can't seem to figure out how to do it using runvex, as I'm not sure I can pass a geometry as an argument.

Thank you !
User Avatar
Member
1 posts
Joined: Sept. 2012
Offline
hou.Geometry.nearestPoints(position, max_points, ptgroup , max_radius)
  • Quick Links