Arch - Fix #2430 - Add IFC Spreadsheet properties system

This commit is contained in:
Jonathan Wiedemann
2016-02-04 20:55:45 +01:00
parent ba9e43abc4
commit 980b8dbeda
5 changed files with 195 additions and 41 deletions

View File

@@ -299,6 +299,7 @@ class Component:
obj.addProperty("App::PropertyLink","BaseMaterial","Material",translate("Arch","A material for this object"))
obj.addProperty("App::PropertyEnumeration","Role","Arch",translate("Arch","The role of this object"))
obj.addProperty("App::PropertyBool","MoveWithHost","Arch",translate("Arch","Specifies if this object must move together when its host is moved"))
obj.addProperty("App::PropertyLink","IfcProperties","Arch",translate("Arch","Custom IFC properties and attributes"))
obj.Proxy = self
self.Type = "Component"
self.Subvolume = None