Solution exception:Object reference not set to an instance of an object

unhandled

(Joshuazzzzz) #1

Hi I wanted to make pipes of squares but it keeps running up with errors, but the definition seems fine to me.

Square Pipe_0401.gh (6.3 KB)


#2

Check this…

Square Pipe_0401_re.gh (10.8 KB)


(David Rutten) #3

Yeah it should be able to handle null sections and give you a more informative error message.
Logged under RH-45219.


#4

Square Pipe_0401_reV2.gh (12.2 KB)


(Joshuazzzzz) #5

Thank you so much! It worked :slight_smile: