Attractor curve, how apply grid on rhino surface?

Hello,
i’m struggling to apply my grasshopper skript to rhino surface. How can i get the correct dimensions from the rhino surface to my grasshopper skript?

Thank you very much!
GRIDtoSRF.3dm (50.7 KB)
GRIDtoSRF.gh (13.1 KB)

use bounding box component

thanks for you answer, but i don’t understand. Where do i have to connect the bounding box?
Thank you very much!

Have a look at the attachment.


GRIDtoSRF_re.gh (15.0 KB)

1 Like

Thank you very much! that works really good!