Window.factory

static Window.factory(entity, model, entity_types=None)

Factory function for creating an compas_ifc entity object from an Ifc entity, the function finds closest matched class from the bottom of inherentance.

Parameters:
entityIfcEntity

An IfcEntity object.

modelIfcModel

An IfcModel object.

Returns:
Entity

An Entity object.