All Elements of Category warning

Hello everyone,

hopefully someone can help me with this problem I have.
I have a graph in which I want to collect all elements of certain catagories.
It’s been tested of three different computers. On two it works perfectly fine,
on the third I get this warning that I don’t have the right input for the All Elements of Category node.
I have never seen this before.
Does anybody know what this is about?
Thanks!

image

hello and welcome,

Can you show the inputs, i assume you are using a dropdown node to select the category and the value is just nothing on one users computer.

Thanks for the quick response!
It seems the solutions isn’t that easy, unfortunately.
The input is a list of sublists of categories. The graph has been tested on the same revit model each time so the input was always the same.

Could you show the full graph, with previews visible on a computer where it works, and on the one where it doesnt work?

So this is the full graph. It basically looks the same whether it works or not except the warning on that one All Elements of Category node (and two or three warnings following the first one).
It’s especially strange since there is antoher All Elements of Category node in the graph that doesn’t have any problems.

@harald.dengg ,

here is just one node missing to run…

The Systems.Collections.ArrayList error is typically from an incompatibility with another package (usually an older version of Orchid). Try removing that package or installing a newer version.

Thanks for the reply but in my graph it isn’t strings that go into the All Elements of Category node.
It’s already the categories themselves.

Is there any other reason other than incompatible packages for this error occuring? I suspect Orchid isn’t installed on the computer the graph didn’t work on. I think there’s only Archilab and Clockwork on there. I have yet to check that.

It may not be Orchid specifically but I’ve only seen this with packages but it could be an incompatible add-in with your host too. There’s something with an incompatible library that is causing Dynamo to only recognize the System list structures and not the Dynamo ones.

Thanks a lot! I’ll have a closer look. But still I’m confused as to why one node recognizes a list of categories and the other one does not.

We can’t really see much in your image (you have almost no node previews and the node names aren’t visible) but it seems like the two nodes use two different list structures. The list structure is the thing that isn’t “translating” correctly.

Yes sorry about the missing node names. I exported the graph as an image a couple more times. Sometimes the node names will be exported sometimes they won’t. Haven’t found out what it depends of yet. Plus this version of dynamo somehow won’t let me open node previews which I also don’t know why. Anyway here’s the graph with node names and it finds (and deletes) project parameters without a value by the way. Thanks for your help!

How far in you zoom before exporting. The tool grabs all nodes as currently displayed. Even those not currently displayed. So zoom in tight on a few nodes before export.

Check your settings; there is a toggle to disable previews.

Thanks a lot! Zooming does the trick.

Looks like this specific setting is missing in Dynamo 2.12.
I went through every menu and I couldn’t find it.
Here are the preferences in Dynamo 2.12. and the settings in a previous version shown in the Dynamo Primer:

2 Likes

Awesome! I was wondering why this is gone and googled it a while ago but I never came across this post. Thank you!

1 Like

@solamour @emrullah.yildiz this would be a good thing to cherry pick over if we have any more update to Revit 2022 that can be piggy backed on.

2 Likes

I finally got back to this problem and it was indeed Orchid. Thanks for your help!