Skip to main content
Ctrl+K
Logo image

COMPAS IFC

  • Introduction
  • Installation
  • Tutorial
  • Examples
    • 0.1 Overview
    • 1.1 Query Entities
    • 1.2 Traverse Hierarchy
    • 2.1 Project Info
    • 2.2 Site Info
    • 2.3 Window Info
    • 3.1 Model View
    • 3.2 Element View
    • 4.1 Edit Export
    • 4.1 Create New
  • API Reference
    • compas_ifc.model
    • compas_ifc.reader
    • compas_ifc.writer
    • compas_ifc.entities
  • License
COMPAS.dev
  • API Reference
  • Model
  • Model.create

Model.create

Model.create(cls=None, parent=None, geometry=None, frame=None, psets=None, **kwargs)

Create an entity and add it to the model.

Parameters:
clscompas_ifc.entities.Entity

The type of entity to create.

attributesdict

The attributes of the entity.

parentcompas_ifc.entities.Entity

The parent entity of the entity.

Returns:
compas_ifc.entities.Entity

The created entity.

On this page
  • Model.create()

© Copyright COMPAS Association.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.