Model.insert

Model.insert(geometry, parent=None, name=None, description=None, cls=None, frame=None)

Insert a geometry into the model. The geometry will be wrapped in a building element proxy.

Parameters:
geometrycompas.geometry.Geometry or compas.datastructures.Mesh

The geometry to be inserted.

parentcompas_ifc.entities.Entity

The parent entity of the geometry.

namestr

The name of the element.

descriptionstr

The description of the element.

Returns:
compas_ifc.entities.buildingelements.BuildingElementProxy

The building element proxy wrapping the geometry.