Arch: Tesselation of curved brep faces in IFC export

This commit is contained in:
Yorik van Havre
2014-05-20 17:38:13 -03:00
parent 0be8427f19
commit bc28a4e740
2 changed files with 27 additions and 13 deletions

View File

@@ -320,12 +320,11 @@ class IfcDocument(object):
def __setattr__(self,key,value):
if value:
if key == "Owner":
print value
self._person.set_argument(2,value)
self._person.set_argument(2,str(value))
elif key == "Organization":
self._org.set_argument(1,value)
self._org.set_argument(1,str(value))
elif key == "Name":
self.Project.set_argument(2,value)
self.Project.set_argument(2,str(value))
self.__dict__.__setitem__(key,value)
def findByName(self,ifctype,name):