WIP implement most of the document module apart from object references. See #1222.

This commit is contained in:
Dion Moult
2021-01-22 21:04:30 +11:00
parent 94737da1f5
commit 2f2611e0cb
15 changed files with 450 additions and 422 deletions
@@ -0,0 +1,26 @@
import bpy
from blenderbim.bim.prop import StrProperty, Attribute
from bpy.types import PropertyGroup
from bpy.props import (
PointerProperty,
StringProperty,
EnumProperty,
BoolProperty,
IntProperty,
FloatProperty,
FloatVectorProperty,
CollectionProperty,
)
class Document(PropertyGroup):
name: StringProperty(name="Name")
identification: StringProperty(name="Identification")
ifc_definition_id: IntProperty(name="IFC Definition ID")
class BIMDocumentProperties(PropertyGroup):
document_attributes: CollectionProperty(name="Document Attributes", type=Attribute)
active_document_id: IntProperty(name="Active Document Id")
documents: CollectionProperty(name="Documents", type=Document)
active_document_index: IntProperty(name="Active Document Index")
is_editing: StringProperty(name="Is Editing")