This tutorial demonstrates the use of the Local Code Export component for Grasshopper.
Hmm…it looks like things are taking a while to load. Try again?