Hi,
I'm wondering what the best way is to collect elements by type in the python API. I found how to collect all elements but I only want shells really which I can then feed into the next part of the script (creating a display model from a set of shells is the ultimate goal).
Looking at the examples, it seems to suggest I need a for loop but, unlike materials and properties, elements don't seem to have .cardimage on them and instead use .config which gives me a numeric code (208 for some of the elements I'm using) which is not helpful to determine the type of element I've collected as I don't know where there is a list of these codes. I can't find examples of what attributes each type of entity in hm.entities has so that would also be helpful.
Any help/information on this would be useful.
Thanks,
Amy