Control Rhino objects with Grasshopper

I would like to know if you can help me with the following problem

How can I define with Grasshopper the behavior to modify the height of a primitive (a cube), created in the Rhino graphic environment?

All the examples I found first create the cube in Grasshopper and this is not what I want to do.

Thank you.

Moved to Grasshopper category.

reference the cube in grasshopper, scale it in z direction to the desired height, bake it.


take the footprint curve, reference it in grasshopper, extrude it to the desired height, bake it.

This could be one approach. (42.2 KB)