buildingmotif.database.tables#
Classes
|
A Library is a distributable collection of Templates and Shapes. |
|
A Model is a metadata model of all or part of a building. |
|
A ShapeCollection is a collection of shapes, which are used to validate parts of a model. |
|
A Template is used to generate content for a model. |
|
Many-to-many relationship between dependant templates. |
- class DBModel(**kwargs)[source]#
A Model is a metadata model of all or part of a building.
- id: Mapped[int]#
- name: Mapped[str]#
- description: Mapped[str]#
- graph_id: Mapped[str]#
- manifest_id: Mapped[int]#
- manifest: DBShapeCollection#
- class DBShapeCollection(**kwargs)[source]#
A ShapeCollection is a collection of shapes, which are used to validate parts of a model.
- id: Mapped[int]#
- graph_id: Mapped[str]#
- class DBLibrary(**kwargs)[source]#
A Library is a distributable collection of Templates and Shapes.
- id: Mapped[int]#
- name: Mapped[str]#
- templates: Mapped[List[DBTemplate]]#
- shape_collection_id#
- shape_collection: DBShapeCollection#
- class DepsAssociation(**kwargs)[source]#
Many-to-many relationship between dependant templates.
- id: Mapped[int]#
- dependant_id: Mapped[int]#
- dependee_id: Mapped[int]#
- args: Mapped[Dict[str, str]]#