Hello Wall - IfcWallElementedCase

2»

Comments

  • I was not so convinced about the new void workflow at first, but this is really awesome and very powerful.

    Coen
  • Am I using this correctly?:

        def create_assembly(self, model, element_list):
            assembled_element = run("root.create_entity", model, ifc_class="IfcElementAssembly",name='my_collection')
            for i in element_list:
                run("aggregate.assign_object", model, product=assembled_element, relating_object=i)
    

    element_list looks like this:

    [#202=IfcCovering('3Qn21p1p5EL8y2qdjXrWg6',$,'insulation',$,$,#223,#213,$,$), #225=IfcCovering('0Z7y9GduPDkwEkOkhAzED6',$,'insulation',$,$,#246,#236,$,$), #248=IfcCovering('1A4n9VM5XD9fjZdtJ3lhFj',$,'insulation',$,$,#269,#259,$,$), #271=IfcCovering('1AIix1i916xBNV_TOWHCGx',$,'insulation',$,$,#292,#282,$,$), #294=IfcCovering('1N65f0cKf1cwFvuV8H7Tfk',$,'insulation',$,$,#315,#305,$,$), #346=IfcCovering('2eeTeOBmX7_eobur6$sl4W',$,'insulation',$,$,#367,#357,$,$), #38=IfcMember('1yqJ4GTn5AqeX2x3ju6l9F',$,'my_beam',$,$,#56,#57,$,$), #59=IfcMember('3ZKjHPpWb8V8WLMu1qE1uw',$,'my_beam',$,$,#76,#77,$,$), #79=IfcMember('0UH0M7Iiv6yvCU3PosVy7I',$,'my_beam',$,$,#96,#97,$,$), #99=IfcMember('2qt0xIrZPCm8CeqKBcgchd',$,'my_beam',$,$,#116,#117,$,$), #119=IfcMember('1dRfBa9zLAlu05ax4a_3Mv',$,'my_beam',$,$,#136,#137,$,$), #139=IfcMember('3pkeFk8zH7W9h0uHP9Pl2w',$,'my_beam',$,$,#156,#157,$,$), #159=IfcMember('1_LmUDkbHAAgr$DQ4Yv$D0',$,'my_beam',$,$,#176,#177,$,$), #179=IfcBeam('0j7rHy9OnBvAB9vMKrg2oj',$,'my_beam',$,$,#196,#197,$,$)]
    

    When I load the IFC in BlenderBIM I see on the last item of the list is added to the collection.

    I might be doing some basic Python fundamental scripting wrong? :/

  • This clip is very useful, I tried to replicate it several times. However it seems when I save the ifc it seem the opening randomly cuts elements too much.
    BimCollabZoom

    BIMVision

    BlenderBIM

    Am I missing a step in BlenderBIM? Attached is the IFC file from the screenshots

Sign In or Register to comment.