IFCFile.from_entity
- IFCFile.from_entity(entity)
Convert an ifcopenshell entity to a compas_ifc entity. Will return an existing entity if it has already been converted.
- Parameters:
- entity
ifcopenshell.entity_instance
The ifcopenshell entity to convert.
- entity
- Returns:
compas_ifc.entities.base.Base
The converted compas_ifc entity.