revit-ifc icon indicating copy to clipboard operation
revit-ifc copied to clipboard

Ifc Custom Property set: Double Psets / Property not written to Ifc

Open WillemdBr opened this issue 5 years ago • 9 comments

Hi @AngelVelezSosa ,

With 20.2.1 I have 2 issues with a custom property set.

  1. The Revit parameter 'Classification Code' isn't exported to the custom property 'NL-SfB code'. With IfcBuildingElements this property is filled in the Revit type parameter Assembly code, while with IfcDistributionElements, this property is filled in the Revit instance parameter Classification code. With earlier versions this didn't matter because the IFC exporter checked wich one was filled in, and used that one for the IFC export.

  2. The custom property set is shown 2x times in Solibri, while shown 1x time in BIMcollab Zoom but with double propertys. This happens when I'm defining differen custom propertys for different Ifc entitys.

image

For both issues, see attached files for review.

Regards, Willem Custom Pset file.zip

WillemdBr avatar Dec 09 '20 15:12 WillemdBr

@WawanSolihin please put this on your queue.

AngelVelezSosa avatar Dec 10 '20 14:12 AngelVelezSosa

Let me comment about this a little. The Pset definitions are based on undocumented behavior (and potentially a bug) as a feature.

PropertySet: Pset_BAMCommon I IfcBuildingElement NL-SfB code Text Assembly Code NL-SfB code Text Classification Code

PropertySet: Pset_BAMCommon I IfcDistributionElement NL-SfB code Text Assembly Code NL-SfB code Text Classification Code

PropertySet: Pset_BAMCommon I IfcElement Fase Text Phase Create

Here Pset_BAMCommon are defined 3 times, where two of them with the same property name assigned to a different parameter, and then the definition is assigned to different entities. While this might work previously, some code fixes changed this behavior. I think the best practice should be to define Pset in an unambiguous way similar with how IFC defines the standard Pset, for example:

PropertySet: Pset_BuildingElementBAMCommon I IfcBuildingElement NL-SfB code A Text Assembly Code NL-SfB code C Text Classification Code

PropertySet: Pset_DistributionElementBAMCommon I IfcDistributionElement NL-SfB code A Text Assembly Code NL-SfB code C Text Classification Code

PropertySet: Pset_ElementBAMCommon I IfcElement Fase Text Phase Create

WawanSolihin avatar Dec 10 '20 15:12 WawanSolihin

We want to make 1 or more Psets in which we can display the data in a structured manner. Previously, it was possible to create multiple Pset mapping for different entities, these were then displayed in the ifc as 1 Pset if the name was the same.

Assembly Code or Classification Code are used for the NL-SfB coding. This code applies to all IfcElement objects. You would expect the last value in the User Defineproperty set to be the value that is visible in the IFC.

The same goes for IfcBeam.

Property Set: Pset_Dimmensions I IfcBeam Height Length Height Width Length Width Length Length Length Length Length Cut Length Volume Volume Volume

This used to work and now it no longer works. Different entities within an IFC can have different parameters within revit. If all parameters between System Families and Loadable Families were interchangeable, this problem would not be there.

We would like the User Defineproperty set to be used as in the previous exporters.

Regards, Henk

HenkMolhoek avatar Dec 10 '20 21:12 HenkMolhoek

We will look into it. There may be a different way to achieve this requirement.

WawanSolihin avatar Dec 11 '20 13:12 WawanSolihin

Hi @WawanSolihin @AngelVelezSosa ,

Is there any progress on this issue? Please let us know.

A related problem to this issue is, if we define propertys which only can be read from a certain IfcEntiy, we define this in the CustomPset file. In this example I used this file: Pset_BAMCommon.txt

In this example you can read: image So these property's I only want them to get from certain IfcEntities, in this case IfcPile.

But in the Ifc file. these 3 propertys will be also written to a 2nd Property Set which has the same name (image from solibri): image

Is there a easy way to just merge Psets which has the same name, so this issue can be fixed?

Thanks in advance for looking into it.

Regards, Willem

WillemdBr avatar May 28 '21 13:05 WillemdBr

Hi @WawanSolihin @AngelVelezSosa

We have run into the same problem: two Psets with identical names are visible in Solibri. Bimcollab merges them into one.

That causes a lot of confusion, can we expect this to be fixed any time soon? Its been quite a while since this was first mentioned...

Thanks!

louistrue avatar Oct 13 '21 04:10 louistrue

@WillemdBr : Dont know if its still relevant, but if you change the parameter type to "type" (T) in the custom pset file, the value gets exported: Snag_15f87f1 Snag_15f94a3

but the Pset still shows twice in Solibri...

louistrue avatar Oct 20 '21 10:10 louistrue

We upgraded the model from R22 to R24 this month and, suddenly, started to experiment these issues. Does anybody have a solution or an idea about what might be changed to correct this behaviour?

aksel-a avatar May 02 '24 14:05 aksel-a