Hi guys,
How can I access the family types parameter Classification… under Data?
25DYN_GETTING CLASSIFICATION WIP for railing.dyn (9.9 KB)
Appreciate your time and kind guidance regarding this matter
Hi guys,
How can I access the family types parameter Classification… under Data?
If you’re stuck like this, I would suggest using the Element.Parameters node to see what’s available to the element. What is the name of the actual parameter you’re looking for?
Hi Nick,
Thank you for your reply — much appreciated.
I’m currently working in Dynamo 2025. Before posting, I searched for the Element.Type node but couldn’t find it in the library. I’ve now replaced it with Element.ElementType, as shown in the snip below:
It seems to be working now.
Just to clarify — is there a DesignScript equivalent for Element.Type?
Also, if I have a mixed selection of element types and I need to extract Classification descriptions and numbers, what’s the most efficient approach?
Would you recommend a specific combination of nodes (or packages) to streamline this and reduce script delays, especially when handling a large number of elements?
Thanks again.
Most (if not all) nodes that use dot notation for their naming are the exact same in DesignScript. Under some conditions, usually if there are naming redundancies with other packages, you’ll have to specify the partial or even full namespace as well. You can always check this by using Node to Code. Select a node (or nodes) you want to convert to DesignScript then right-click on the canvas (not a node) and select Node to Code. All nodes that support DesignScript will be converted and remain connected. You can use this to learn what’s available and how it should be formatted.
Dealing with multiple element types doesn’t really change anything. Filtering down to unique items only is good, but types will stay in order downstream as you get or set parameters, so there’s no need to separate anything. If there’s something specific you’re trying to do that seems to complicate this, show us an example and we can help.