Skip to content

Commit

Permalink
Arch: more fixes in IFC importer
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jul 31, 2015
1 parent 9196591 commit 2475be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Arch/importIFC.py
Expand Up @@ -309,8 +309,8 @@ def insert(filename,docname,skip=[],only=[],root=None):
if DEBUG: print "done."

global ifcfile # keeping global for debugging purposes
filename = decode(filename)
ifcfile = ifcopenshell.open(filename,utf=True)
filename = decode(filename,utf=True)
ifcfile = ifcopenshell.open(filename)
from ifcopenshell import geom
settings = ifcopenshell.geom.settings()
settings.set(settings.USE_BREP_DATA,True)
Expand Down

0 comments on commit 2475be5

Please sign in to comment.