Hi, I am currently writing IDS file for our BuildIM format which we use for evaluating IFC models. We are setting unique parameters to ech element inside Autodesk Revit and we need to later check with IDS that all Elements do have those. I tried to use this:
Hi @CipZip, that’s because such IDS is not possible to pass. Not sure what IFC version you specified, but in the latest (4x3) IfcElement is an abstract definition that can’t be instantiated. That means no model will contain IfcElement. Instead, it can contain more specialised elements such as IfcWall or IfcDoor. In IDS you need to list explicitly what entities you want to scan. The IDS does not consider inheritance, so when you say IfcElement it only looks for IfcElement, not it’s subentities.
When I’ve been there I’ve used the “tag” attribute as workaround since it’s the common attribute to all IfcElement descendants. If tag exists, you’re sure it’s an IfcElement.
Very interesting workaround! I have tried it and get false results since all the IDS checkers checked also Type Elements (so not only IfcSlab but also IfcSlabType). So not an option for me , but thanks.
Well… you need to add something, but I think the workaround is still valid. It just need to be tuned to avoid Type Elements (their name always finishes with type…)