I have not found a way to extract all entities without having to specify them individually. Is there a way to do so, or is ther a way to get a set of all available entities/IfcClasses?
And is there also a way to access/extract entities via the PredefinedType?
(I think only the ObjectType via the ggIFC Decompose Element kind of gives me that information - afaik this is it for Archicad generated IFCs but not sure if that’s always the case)
What’s the best practice workflow to always get the “last entites”? For example I can extract the IfcBuildingElementParts of Walls (to get material inforamtion) but how do I know that they do decompose within GeomGym? Some elements for example consist of other entities, so how do I achieve this best - e.g. for material extraction.
Edit: Would be nice to have also outputs for “PredefinedType” and “Decomposes” or Relationships too in this component. Probably they are there and I simply have not detected them.
It would be helpful to have a sample IFC file (and grasshopper script) to demonstrate this with.
But once you have decomposed down to a certain level, you can use the “extraction” component to get all IfcElement (or IfcProduct) as children (all generations). You could dispatch out any elements from within the hierarchy by criteria such as no representation, or no relevant quantities or properties.
I have added a predefined type output for a revised version of this component for the next build of the plugin.