IFCFile.create_relationship
- IFCFile.create_relationship(parent, child)
Create the correct relationship between two entities based on their types.
- Parameters:
- parent
compas_ifc.entities.base.Base
The parent entity.
- child
compas_ifc.entities.base.Base
The child entity.
- parent
- Returns:
compas_ifc.entities.base.Base
The created relationship.