Hey guys,
Im a newbie at grasshopper, so bear with me. I have a point cloud which I want to use for placing blocks, and constraining them between an upper and lower point. Right now I’m able to place the blocks, but been trying for some time to find a way to transform the blocks to the right constrain.

Placing blocks at the bottom point. And I want to size it depending on the distance between upper and lower point.

I’m able to place the standard block, but unable to change its size.
Appreciate some help!