Extrude polylines with point cloud

hello!
my file has a lot of closed polylines I want to extrude. each of those solids should have a different height, there is a point above each polyline that marks the level of the top surface. the attached image shows a little example of what I’m talking about. is there a command that automatizes that (besides scripts)? I could extrude every polyline manually but that would take a long time.
thanks in advance!

Grasshopper would be your friend here :smiley:

Nope - as Michael said, either Grasshopper, or a script like the one below:
ExtrudeBldgsToPtHt.py (1.9 KB)

Extrude Curves.3dm (33.8 KB)
Re Extrude Curve.gh (8.2 KB)

Do Note: How to ask effective questions

thanks a ton, I ended up using the python script and it worked just fine.