Rhino.Input.Custom.GetPoint constrained to Polysurface

For Rhino.Input.Custom.GetPoint, is it possible to constrain the selection to a polysurface? Any way to do this aside from scripting “point onpolysrf”?

Trying to adapt code here to pick only on a polysurface: Rhino - Add Command Line Options


Hi @samlochner,

GetPoint.Constrain is the magic.

– Dale

Perfect, thanks!