Welcome to the next lesson in our exploration of visual programming with Grasshopper. In our previous session, we focused on constructing and deconstructing parametric curves directly within the Grasshopper environment. We saw how a series of points and mathematical rules could generate complex forms from scratch. Today, we're going to explore a different, and often more powerful, workflow: using geometry that already exists in your Rhino model as the foundation for your Grasshopper script.
This lesson addresses a fundamental aspect of the parametric design process: the separation of concerns. By referencing geometry from Rhino, you can use Rhino's rich and precise modeling tools to create your base forms—the initial curves, surfaces, or solids of your design. Then, you can use Grasshopper to apply complex parametric logic, manipulations, and analysis to that base geometry. This creates a flexible and non-destructive workflow where your core design elements and the parametric operations on them are managed independently.
The Bridge Between Rhino and Grasshopper
Think of the relationship between Rhino and Grasshopper as a two-way street. Data can flow from Rhino into Grasshopper, and the resulting geometry from Grasshopper can be sent back into Rhino.
- Referencing: This is the process of bringing existing Rhino geometry into your Grasshopper definition. It creates a live link, where Grasshopper "listens" for changes to the original Rhino object. This is the focus of our lesson today.
- Baking: This is the reverse process of converting the temporary preview geometry generated by Grasshopper into permanent, editable geometry within the Rhino document. We will touch on this briefly, but it is the main topic of our next lesson.
How to Reference Geometry
The most common way to create a link from Rhino to Grasshopper is by using Parameter components. You can find these under the Params tab in the component palette. These components—such as Point (Pt), Curve (Crv), Surface (Srf), or the generic Geometry (Geo)—act as containers. When first placed on the canvas, they are orange, indicating they are empty and hold no data.
To populate one of these containers with an object from Rhino, you simply right-click the component and choose "Set one [Geometry Type]" or "Set multiple [Geometry Type]". Grasshopper will then prompt you to select the corresponding object(s) in the Rhino viewport.
The following guide from TU Delft's open courseware provides a clear, step-by-step walkthrough of this process.
Lesson 1 - Basics — Rhino Grasshopper Open Access Education
This resource provides a hands-on introduction to the basic interactions between Rhino and Grasshopper.
In the section "Inputting and Outputting Data", please read the short guide on how to use Rhino geometry as an input. This text walks you through drawing a curve in Rhino and then referencing it using a Curve parameter component in Grasshopper.
The context menu for a Curve parameter, showing the "Set Multiple Curves" option, is a common sight in Grasshopper.

To see this process in action, the following video provides an excellent demonstration. The presenter references two points from Rhino to parametrically define a box.
Getting Started with Grasshopper 3D - BEGINNERS START HERE!
This video demonstrates the core workflow of referencing live geometry from Rhino and seeing the automatic updates.
Watch the segment from generating our box. Pay close attention to how the presenter creates points in Rhino first, and then uses the "Set one point" command in Grasshopper to create a live link. The key moment is when they move the point in Rhino and the box in the Grasshopper preview updates automatically. This immediate feedback is the essence of the live-linked workflow.
The Live Link: Referenced vs. Internalized Data
When you reference geometry, Grasshopper doesn't copy the object; it stores a reference to that object's unique ID in the Rhino document. This is what creates the "live link." The consequence is that your Grasshopper file (.gh) is now dependent on your Rhino file (.3dm). If you open the Grasshopper file without the correct Rhino file, the reference will be broken, and the parameter component will turn red, signaling an error.
There is an alternative. You can choose to internalize the data. This action copies the geometric data from Rhino and stores it directly inside the Grasshopper parameter component. This breaks the live link to the Rhino object but makes your Grasshopper file self-contained.
The diagram below perfectly illustrates this crucial distinction.

To internalize data, you right-click the parameter component containing the referenced geometry and select "Internalise data". The component will remain grey (signifying it contains data), but it will no longer turn green when selected because it's no longer linked to a selectable object in Rhino.
The Mode Lab Primer offers a concise technical explanation of this feature.
[PDF] Mode Lab Grasshopper Primer Third Edition - aae 280 fall 2014
This primer provides a technical look at how data is managed in Grasshopper.
In the PDF, navigate to page 44 and find the section "F.1.2.1 VOLATILE DATA". Read the short paragraph explaining how to store referenced geometry by using the "Internalise data" command. This explains how to convert a linked object into a self-contained one, which is useful when you want to share your script without an accompanying Rhino file.
A Practical Application
Let's connect this new skill to what we learned in the last lesson. Imagine you have designed a complex, flowing curve in Rhino, carefully adjusting its control points to achieve the perfect profile for an architectural element.
- Reference: In Grasshopper, you place a
Crvparameter and use "Set one Curve" to reference your Rhino curve. - Manipulate: You connect this
Crvparameter to theEvaluate Curvecomponent from our previous lesson. Now you can use aNumber Sliderto parametrically slide a point along this curve, find tangent vectors, and orient other geometry to it. - Iterate: If you decide the profile isn't quite right, you don't need to change anything in Grasshopper. You simply go back to Rhino, edit the original curve's control points, and your entire Grasshopper definition—the evaluated point and anything attached to it—updates instantly.
This workflow leverages the strengths of both platforms: Rhino for manual, artistic control and Grasshopper for procedural, rule-based operations.
A Glimpse of the Other Direction: Baking
So far, all the geometry generated by Grasshopper only exists as a temporary preview in the Rhino viewport (usually colored red or green). You can't select it or edit it directly in Rhino. To make it "real," you must bake it. Baking creates a new, independent copy of the geometry in your Rhino file.
The same video we watched earlier demonstrates this process immediately after referencing the points.
Getting Started with Grasshopper 3D - BEGINNERS START HERE!
This next segment of the same video demonstrates the reverse process of referencing, called "baking."
Now, watch the section from preview display of what's being created. The presenter explains that the red geometry is just a preview. To make it a real object in Rhino, you must right-click the final component and choose "Bake". Notice that after baking, the new object is a standard piece of Rhino geometry, completely separate from the Grasshopper definition.
This act of baking finalizes a design iteration and is a crucial step in producing drawings or preparing a model for fabrication.
Conclusion
In this lesson, we established the vital connection from Rhino to Grasshopper. You now understand how to reference existing geometry, creating a live, parametric link that allows your script to respond dynamically to changes in your base model.
Key Takeaways:
- Referencing uses Parameter components (
Crv,Pt,Srf, etc.) to create a live link to objects in your Rhino document. - This link allows you to modify your base geometry in Rhino and see the results update automatically in your Grasshopper definition.
- Internalizing data embeds the geometry into the Grasshopper file, making it self-contained but breaking the live link to Rhino.
- This workflow separates your manually modeled base geometry from your procedural Grasshopper logic, which is a cornerstone of professional parametric design.
In our next lesson, we will fully explore the other side of this bridge: baking. You will learn how to take the parametric geometry you've generated in Grasshopper and turn it into concrete, editable objects in the Rhino environment, completing the round trip from design concept to final model.