OSArch Community

load currently open ifc file

  1. A

    Doesn't model = ifcopenshell.file() load currently open file? After this, when I use walls = model.by_type('IfcWall'), i get an empty list. What I am doing wrong.

  2. C
  3. A

    Thanks @Cyril

    Is there a documentation for blender.bim api

  4. M

    @Arv to get the actively loaded IFC in the BlenderBIM Add-on session, you can do:

    
    import blenderbim.tool
    
    model = blenderbim.tool.Ifc.get()
    

    It uses what @Cyril recommended under the hood but is an intended publicly accessible API instead of an internal detail.

    You can find documentation here: https://blenderbim.org/docs/ and https://blenderbim.org/docs-python/

  5. A

    Thanks @Moult

Login or Register to reply.