buildingSMART Forums

Use IFCGuid to get IFCMaterial As List

Is it possible to get a list of IFCGuids with their corresponding IFCMaterials?


PS This forum wouldn’t allow me to upload or link to my IFC file :frowning:

No. IfcMaterial has no GUID

The elements in my IFC file each have one IFCGuid and one IFCMaterial… I don’t know how to parse the file to get a dictionary of the pairs…

@Bedson It seems you posted this question in the OSArch community first, so I’ve responded to it in your original post. I’ve provided a code example too.

1 Like