Couldn't take type _array _array error

Hi, I am trying to create a file with all the wall types set out and tagged. But the wall by height and curve node is giving the following error -

Warning: One or more of the input types are not matching. Couldn’t find a version of ByCurveAndHeight that takes arguments of type (__array,__array,__array,__array)

I have more curves than wall types but this didn’t seem to matter when I was placing furniture families.

Any help would be greatly appreciated.

Here are some screenshots of the canvas

Hi Simon,

The wall collector node returns a string not a wall type, use a wall type by name node to convert it then your definition should work.

As Simon says it is not a wall type, but to help you further within dynamo. It will have a green box with a number at the end of a name if it has the revit element selected(family type or placed instance), see below image for a example of how it would look.

1 Like