BIM: Fixed imports of IfcOpenShell 0.8 - fixes #17628
This commit is contained in:
committed by
Yorik van Havre
parent
04eb73bea4
commit
928deccec7
@@ -202,6 +202,7 @@ def export(exportList, filename, colors=None, preferences=None):
|
||||
"Visit https://wiki.freecad.org/IfcOpenShell "
|
||||
"to learn about installing it.")
|
||||
return
|
||||
from ifcopenshell import guid
|
||||
if str(filename).lower().endswith("json"):
|
||||
import json
|
||||
try:
|
||||
|
||||
@@ -25,6 +25,7 @@ import math
|
||||
import FreeCAD
|
||||
# import Draft
|
||||
import ifcopenshell
|
||||
from ifcopenshell import guid
|
||||
from draftutils import params
|
||||
|
||||
def getObjectsOfIfcType(objects, ifcType):
|
||||
|
||||
Reference in New Issue
Block a user