I am working on a multi-discipline project where typical building Catalog Types are used when available, but with the addition of custom properties. When Catalog Types cannot be used, such as landscape objects or other non-OpenBuilding Designer elements, they are exported as IFC Proxy elements but still include those custom properties. However, unlike the native OpenBuilding Designer elements they do not include specific DataGroup properties that we are trying exclude such as those shown below. So in the end we simply need the same set of properties for all elements exported to IFC, regardless of their source.
How can I exclude these properties from IFC Export? Even when certain properties don't display in the "Map DataGroup Types and Properties" dialog, or if I hide them in the DataGroup Catalog Editor, they are still exported.
While the goal is to exclude certain properties, you can use the applicable IFC_***Filter.set file (based on the IFC version you are using) to include only the properties you do want.
For example, this is the result of exporting a DGN file containing a few walls to IFC4 and opening that file in Datacomp's BIMvision IFC viewer. You can see that the wall includes the properties mentioned above along with many others.
If we copy the "ALLOW_PROPERTY_SET" section from the delivered IFC_COBieFilter.set file (first image below) we can reuse that in IFC_RV4Filter.set for this purpose. For example, we've pasted that section to the bottom of the IFC_RV4Filter.set file, and also added "WallQuantities" since the DGN file includes walls and we want to see that quantity data in IFC format (second image):
And this is the resulting IFC4 file in BIMvision. We can see that only the "WallCommon" properties are included along with WallQuantities data:
The allowed property sets shown above have essentially "filtered" out everything that is not included, leaving only those properties that are required. You can pick and choose the properties to include for specific object types to provide the desired results.