mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 06:18:09 +00:00
Update all geom settings to new v0.8 syntax
This commit is contained in:
@@ -86,7 +86,7 @@ def import_ifc(filename, use_names, process_relations, blender_booleans):
|
||||
|
||||
print(f"Reading {bpy.path.basename(filename)}...")
|
||||
settings = ifcopenshell_geom.settings()
|
||||
settings.set(settings.DISABLE_OPENING_SUBTRACTIONS, blender_booleans)
|
||||
settings.set("disable-opening-subtractions", blender_booleans)
|
||||
assert os.path.exists(filename), filename
|
||||
ifc_file = ifcopenshell.open(filename)
|
||||
iterator = ifcopenshell_geom.iterator(settings, ifc_file)
|
||||
|
||||
Reference in New Issue
Block a user