All Elements of Type not working (Wall Type)

Hi guys.
I’m working on getting all walls of type.
I found All Elements of Type node but got a warning. (AllWallsOfType is working)
I don’t know why I get this warning.
I think it should work.
Wall Type is not Element type?
Could anyone explain me about this warning?

No it is not both class is different. Read this:
http://www.revitapidocs.com/2016/aa685433-b426-5e4f-bee1-e3487bb59518.htm
http://www.revitapidocs.com/2016/ffb18296-0448-559c-580c-7857cbcdc094.htm

All Elements of type node requires ElementType but you where feeding WallType that’s the reason you get that error.

3 Likes

I understood it!
thank you for reply.:grinning: