Skip to content

Commit

Permalink
Arch: other small bugfix in IFC exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jul 27, 2018
1 parent ee154d9 commit db4f47c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Arch/importIFC.py
Expand Up @@ -2053,9 +2053,9 @@ def export(exportList,filename):
psa = curvestyles[rgb]
else:
col = ifcbin.createIfcColourRgb(rgb[0],rgb[1],rgb[2])
cvf = ifcbin.createIfcDraughtingPredefinedCurveFont("CONTINUOUS")
ics = ifcbin.createIfcCurveStyle('Line',cvf,None,col)
psa = ifcbin.createIfcPresentationStyleAssignment([ics])
cvf = ifcfile.createIfcDraughtingPredefinedCurveFont("CONTINUOUS")
ics = ifcfile.createIfcCurveStyle('Line',cvf,None,col)
psa = ifcfile.createIfcPresentationStyleAssignment([ics])
curvestyles[rgb] = psa
for rep in reps:
isi = ifcfile.createIfcStyledItem(rep,[psa],None)
Expand Down

0 comments on commit db4f47c

Please sign in to comment.