I have uploaded an IFC file to Ion, considering the new update about IFC metadata. news news 2
in the sandcastle automatic example using my Ion Asset, I can see that some of properties are retrieved automatically on click (not every property, but ok, I would start with the attributes), even if there are no code lines which show how it is reading these properties. my sandcastle example now, I tried to copy and paste that code in my application, but even trying to read the features, I don’t see any of the properties got from IFC. nothing about it.
here the code I tried in order to read the properties of the selection:
thank you for pointing that out, it actually works.
Thank you so much.
I am still a bit confused on how property sets should be managed as the ‘propertyKey’ of properties in psets are <propertysetname + propertyname> without a separator symbol.
but I guess that from here I can start filtering and coloring objects
That may be an aspect that is very specific for IFC, so I might not know the best answer here.
I see that there are two properties that are called psetWallCommonReference and psetWallCommonIsExternal in that sandcastle. Based on your question, I assume that there is a concept called “property sets” that allows for some sort of “grouping”, and that these are in fact two properties Reference and IsExternal that both belong to that group psetWallCommon.
If this is right, then … I see that it might be difficult to figure out what that “goup name” is (unless there is a known, predefined set of group names - but even then, parsing the property name to check whether it starts with one of the group names could be clumsy). (I’ll ask about that internally, maybe there is more information)