Sections with GHPython?

Hello everyone,

I am trying to make a script that creates sections through a set of planes that are also meshes. I wrote this but I am getting an error (“Mesh object not iterable”) and I am not sure how to proceed. Anyone who might have any ideas?

Just a wild guess but maybe your input connection of the mesh planes is not set to “List input”…

1 Like

It is! Thank you anyways

Hi @Florencia_Sabrina_Fe

Without the definition, it’s hard to help. Can you upload it?

Sure, here it is:

Sections ghpython.gh (27.5 KB)

Thank you!