GH equivalent of Dynamo 'code block'

Hey everyone! I’m fairly new to GH but I’ve got some experience with dynamo, and I was wondering what the equivalent of code blocks would be?

Hi -

Just guessing from that name, I’d say clusters but perhaps you could describe the functionality that you are after?

Sorry, I guess I could have explained further what I’m trying to do.

I’m trying to create parametric parking lots and I need something similar to a code block, to make it work. I’ll try using clusters to see if that can do it. I’ve attached an image from dynamo that shows how it works.

There’s no direct equivalent in Grasshopper (code blocks are small textual programming editors that run DesignScript). That said, there’s both the Expression editor and the Python, C#, and VB scripting components.