ElementType/Category Problems

Hello, I have few graphs that start with either Element Type or Categories.
Funny thing was whenever I save the file and reopen it, the value from Element Types / Categories dropdowns were getting randomly selected so I have to redesignate the values.

I wrote down something on this forum to figure out the problem and one user gave me a youtube video with a possible solution - where Im using code block → elementType.ByName → All elements of Type.

however I’m getting errors saying


is there a way where I can use python code to set either Element Types / Categories in a very stable way? I think the possible solution above should work no matter what and it makes sense - not sure why its throwing an error like that.

Thank you very much for your time in advance!

Interesting, I came across the same issue, but give the clockwork node a try.
Hope this helps!

It is looking for the specific Type Name, not the name of an ElementType.

1 Like