OSArch Community

How to use IfcFm part of IfcOpenShell?

  1. B

    I have been exploring all the functionalities of IfcOpenShell and stumbled upon this:

    https://github.com/IfcOpenShell/IfcOpenShell/blob/v0.7.0/src/ifcfm/ifcfm/parser.py

    Can someone maybe share some codes examples of this? I am still a novice at python programming and am not quite sure how to use it.

    What confuses me is that the Parser class has two arguments: self and logger. What do I have to input as the logger argument?

    Further, how would I use the get_organisations function of the parser class if I define my ifc file as:

    ifc_file= ifc.open(path to file)

  2. M

    A logger would be a standard logging (import logging) object provided by Python.

    IfcFM is incomplete and a work in progress, because the upstream FMHEM is also still in draft form. Perhaps look at IfcCOBie instead for the moment?

Login or Register to reply.