Reverse-engineering Grasshopper definitions

Hello,

Could anyone tell me if is possible to derive a grasshopper definition from a curve? Sort of the design process in reverse! For example, if I had a polysurface, could I somehow derive a grasshopper definition that could be used to re-create the polysurface in other projects (and could be edited etc.)?

Many thanks in advance,

John

Sure. The process is similar to finding the way back to where your friend started using a map and your current location.