Arch: IFC export, small code formating

This commit is contained in:
Bernd Hahnebach
2019-09-02 07:36:57 +02:00
parent 8e91b3ab2c
commit 67efd10dea
2 changed files with 20 additions and 9 deletions

View File

@@ -355,7 +355,14 @@ def export(exportList,filename,colors=None,preferences=None):
# getting the representation
representation,placement,shapetype = getRepresentation(ifcfile,context,obj,forcebrep=(brepflag or preferences['FORCE_BREP']),colors=colors,preferences=preferences)
representation,placement,shapetype = getRepresentation(
ifcfile,
context,
obj,
forcebrep=(brepflag or preferences['FORCE_BREP']),
colors=colors,
preferences=preferences
)
if getstd:
if isStandardCase(obj,ifctype):
ifctype += "StandardCase"
@@ -501,7 +508,7 @@ def export(exportList,filename,colors=None,preferences=None):
sheet = obj.IfcProperties
propertiesDic = {}
categories = []
n=2
n = 2
cell = True
while cell is True:
if hasattr(sheet,'A'+str(n)):