Code Block help

Hi all!

I need help to write a codeblock to replace the nodes. These nodes are mostly repetitive so want to reduce the clutter. Can anybody give me direction. Thanks!

Select all nodes, rightclick, choose node to code. For a start. :slight_smile: and have a look at the codeblock introduction on

You could check out my Introduction to DesignScript and Replication Guides post on the RevitForum website. It’s basic, but should get you started.

Awesome Sol Amour. Thanks

Thanks Jostein and Sol !