How to get Ifc Class Tree for IFC4x3 and list of all properties
Hello, team! I have these two files with Class tree and list of alll property sets for IFC4.
I need such files for IFC4x3. Can you help me?
Thanks!
You can find all available properties and quantities in this file from the official documentation: https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/annex-a-psd.zip
If you want the property sets (programmatically) take a look at https://github.com/xBimTeam/XbimPropertySets
To get the class hierarchy you can use the ExpressMetaData within xbim.Common. See https://github.com/xBimTeam/XbimEssentials/blob/develop/Tests/ExpressMetadataTests.cs for an example of usage
And can I get properties and class tree in two files? Like in attached example. Cause I need it to load in treeview.
Sure you can. How did you create the files in attached zip files?
I did not create IFC4_ADD2.ifc. I downloaded this file from here) Maybe someone of xBim team gave it in one of issue topics)
buildingSMART published all properties in this form for IFC4: https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/annex/annex-a/general-usage/index.htm
But they don't provide them in this form for IFC 4.3: https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/annex-a.html
You can still read the XML and transform it to IFC yourself using the Toolkit.