Grasshopper Help - How can I make this Lattice Script work with created surfaces instead of creating one?

Lattice.gh (38.7 KB)

I have this script and want to replace the created surface with one I make in Rhino. What can I do to make it happen?

You need to upload your Rhino file or internalise the surface otherwise we can’t access your surface.

Lattice.gh (39.6 KB)

Curve.3dm (36.0 KB)