Attractor curve, how apply grid on rhino surface?

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) (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. (15.0 KB)

1 Like

Thank you very much! that works really good!