IfcMerge: merge error w/ IFCOWNERHISTORY

edited June 2024 in General

I'm trying to merge the added_roof_members branch into main and i got the following error.
repo: https://hub.openingdesign.com/OpeningDesign/Lake_Kegonsa_Renovation
Is this something that can be worked around?

IFC Merge failed:
entity #3228822 attribute [5] conflict!
merge of Open/Models/BlenderBIM/Lake_Kegonsa_Renovation.ifc failed
main: 
#3228822=IFCOWNERHISTORY(#62226,#3228807,.READWRITE.,.MODIFIED.,1719155597,#62226,#3242208,1714410201);
added_roof_members:
#3228822=IFCOWNERHISTORY(#62226,#3228807,.READWRITE.,.MODIFIED.,1719093884,#62226,#3285618,1714410201);

Comments

  • Further breakdown...

    #3228822=IFCOWNERHISTORY(#62226,#3228807,.READWRITE.,.MODIFIED.,1719155597,#62226,#3242208,1714410201);
      #62226=IFCPERSONANDORGANIZATION(#62224,#62225,$);
        #62224=IFCPERSON($,'','[email protected]',$,$,$,$,$);
        #62225=IFCORGANIZATION($,'','',$,$);
      #3228807=IFCAPPLICATION(#3228806,'0.0.240419','BlenderBIM Add-on','BlenderBIM');
      #3242208=IFCAPPLICATION(#3242207,'0.0.240604','BlenderBIM Add-on','BlenderBIM');
    
    #3228822=IFCOWNERHISTORY(#62226,#3228807,.READWRITE.,.MODIFIED.,1719093884,#62226,#3285618,1714410201);
      #62226=IFCPERSONANDORGANIZATION(#62224,#62225,$);
        #62224=IFCPERSON($,'','[email protected]',$,$,$,$,$);
        #62225=IFCORGANIZATION($,'','',$,$);
      #3228807=IFCAPPLICATION(#3228806,'0.0.240419','BlenderBIM Add-on','BlenderBIM');
      #3285618=IFCAPPLICATION(#3285617,'0.0.240605','BlenderBIM Add-on','BlenderBIM');
    
  • I'm not 100% knowledgeable about IFCOWNERHISTORY, but it seems like the following should not have changed, if @chopinregis committed these changes--since the IfcPerson connected with that IFCOWNERHISTORY is me. #62224=IFCPERSON($,'','[email protected]',$,$,$,$,$);
    https://hub.openingdesign.com/OpeningDesign/Lake_Kegonsa_Renovation/commit/4b909e498eeacbfc616f815c83497f6a629f595a#diff-36df8b75432c34fcd0a5fbf0ef0f218457d9b25a

  • The BlenderBIM behaviour seems to be ok, the IfcOwnerHistory is updated with LastModifiedDate and LastModifyingApplication (though I would expect the LastModifyingUser to change too in this case). IfcOwnerHistory is kind-of useless, I've only ever tested with IFC4 files without IfcOwnerHistory so never saw this problem.

    I think it would be safe for ifcmerge to simply clobber one or other attribute whenever there is a conflict in an IfcOwnerHistory. So I've pushed a change to ifcmerge that does this. I can't create an .exe today, will try and do this tomorrow.

    theoryshawAce
  • This is awesome.. thanks Bruno.

Sign In or Register to comment.