Preview

The preview is how Rhino and Grasshopper geometry becomes visible inside the AutoCAD viewport. This is the core behaviour to understand.


The Rhino preview

See geometry in the AutoCAD viewport

  1. With Rhino open, create some simple geometry in Rhino — for example, draw a Box or a Sphere.
  2. Switch to AutoCAD. The Rhino geometry is drawn in the AutoCAD viewport as a preview, overlaid on your drawing.
  3. Can't see it? You may need to zoom in or out in AutoCAD to bring the preview into view — type ZOOMExtents (or double-click the mouse wheel) so the view frames everything, including the new geometry.

Geometry modelled in Rhino, previewed live inside AutoCAD.

Notice: the preview is not in your drawing

Try to click the Rhino geometry in AutoCAD — you can't. It doesn't highlight, you can't grip-edit it, and it won't appear in a selection window. That's because the preview is a transient overlay, not an AutoCAD object.

Now do the reverse — select the geometry in Rhino and watch the AutoCAD viewport: the preview changes to the selection colour. This is the live link at work: AutoCAD is mirroring Rhino's selection state, even though the geometry only "lives" in Rhino.

Toggle preview visibility

You don't always want the Rhino preview on top of your drawing. Use the toggle to show or hide it:

  • Run TOGGLE_RHINO_PREVIEW (or click its toolbar button) to switch the Rhino preview on/off. The toolbar icon updates to reflect the current state.

The same view with TOGGLE_RHINO_PREVIEW used to hide the Rhino preview.


The Grasshopper preview

Grasshopper geometry previews the same way, flowing from Grasshopper → Rhino → the AutoCAD viewport, live.

Preview a simple definition

  1. Place a Circle component. On the Grasshopper ribbon, open the Curves tab, find the Primitives group, and click the Circle button. Then click once on an empty spot on the canvas to drop the component there.
  2. Add a Number Slider for the radius, using either method:
    • From the menus: Params ▸ Input ▸ Slider, then place it on the canvas; or
    • Double-click an empty spot on the canvas and type a number — for example 100 — to instantly create a slider that runs from 0 to 100.
  3. Connect the slider to the radius. Drag from the semicircular output node on the right-hand side of the Number Slider and drop it onto the semicircular input node labelled Radius on the Circle component.
  4. With the Circle's preview on (the default), the resulting geometry appears as a preview in the AutoCAD viewport, exactly like the Rhino preview. (Any component that outputs geometry will do — Circle is just a convenient example.)
  5. Drag the slider. The geometry updates live in AutoCAD as Grasshopper recomputes.

A circle defined in Grasshopper, previewed live in the AutoCAD viewport.

Control the Grasshopper preview

Rhino.Inside.AutoCAD gives you display modes for the Grasshopper preview, mirroring Grasshopper's own preview settings:

CommandEffect
GRASSHOPPER_PREVIEW_SHADEDShow Grasshopper geometry shaded (with wireframe)
GRASSHOPPER_PREVIEW_WIREFRAMEShow Grasshopper geometry as wireframe only
GRASSHOPPER_PREVIEW_OFFHide the Grasshopper preview

Two more commands control the solver itself:

CommandEffect
GRASSHOPPER_RECOMPUTEForce the definition to recompute its solution
GRASSHOPPER_TOGGLE_SOLVEREnable / disable the Grasshopper solver

Preview colours

The colours previews are drawn in are yours to choose. Rhino previews, Grasshopper previews and selected previews can each be set to any AutoCAD Color Index from 1 to 255 on the Settings tab of the support dialog, and changes are applied to the previews already on screen straight away — no re-run and no restart.

The defaults are the colours the plug-in has always used, so nothing changes appearance until you choose otherwise. See Settings › Preview colours for the full list and the defaults.


When your definition is producing the geometry you want, the next step is to commit it into the drawing. Continue to Baking.