Hello all,
I am trying to get a list of elements that have a certain element type but I always get this error and I tried alot of things and tried searching online but couldn’t find any solution.
Your kind help is highly appreciated.
Thanks.
Hi @eslam.abdo.taha .
The node “All Elements of Type” expects a System Type, the node is used to get all walls, roofs, etc.
If you’re working with FamilyTypes use FamilyInstance.ByFamilyType.
Thanks @Daan for your response.
Unfortunately, I am working with element type, not family type.
You made duplicates with a new name so there are no elements of the same type?
What is the element type you are plugging in?
I tried modelling elements of the new type and still no results
We’re you doing this in the UI or in Dynamo? How were you attempting to do either?
Hi @eslam.abdo.taha you have duplicated a type and think then you try to write to an instance parameter, it isnt possible before the type have an instance…but probably something here could give an idea…
this should work.
uses Spring nodes and Clockwork package and SEGOKS but you dont need the last just used it tfor sorting. since i dont have the same families as you.
OBS Pay Attention to Lacing.
Hi @stefan.gokstorp not 100 sure thats the issue, i think user try to write to an instance parameter as when he try connect directly elementype to set parameter it doesnt work…
ah my bad
Hi Stefan…its just what i think and thats absolutely not sure every time…