Arch: IFC export, small code formating
This commit is contained in:
@@ -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)):
|
||||
|
||||
Reference in New Issue
Block a user