IFCFile.create

IFCFile.create(cls=None, parent=None, geometry=None, frame=None, properties=None, **kwargs)

Create an entity in this model.

Parameters:
clsstr

The class of the entity to create. Defaults to an IfcBuildingElementProxy.

parentcompas_ifc.entities.base.Base

The parent entity of the new entity.

geometrycompas.geometry.Geometry or compas.datastructures.Datastructure

The geometry of the new entity.

framecompas.geometry.Frame

The placement frame of the new entity.

propertiesdict

The custom property sets to be added to the new entity.

**kwargs

Additional keyword arguments to be added to the new entity.

Returns:
compas_ifc.entities.base.Base

The newly created entity.