OSArch Community

IfcMerge: merge error w/ IFCOWNERHISTORY

  1. T

    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);
    
  2. T

    Further breakdown...

    
    #3228822=IFCOWNERHISTORY(#62226,#3228807,.READWRITE.,.MODIFIED.,1719155597,#62226,#3242208,1714410201);
    
      #62226=IFCPERSONANDORGANIZATION(#62224,#62225,$);
    
        #62224=IFCPERSON($,'','ryan@openingdesign.com',$,$,$,$,$);
    
        #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($,'','ryan@openingdesign.com',$,$,$,$,$);
    
        #62225=IFCORGANIZATION($,'','',$,$);
    
      #3228807=IFCAPPLICATION(#3228806,'0.0.240419','BlenderBIM Add-on','BlenderBIM');
    
      #3285618=IFCAPPLICATION(#3285617,'0.0.240605','BlenderBIM Add-on','BlenderBIM');
    
  3. T
  4. B

    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.

  5. T

    This is awesome.. thanks Bruno.

  6. B

Login or Register to reply.