diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e2203b..c75c379 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +* Fixed `verbose` bug. + ### Removed diff --git a/src/compas_ifc/file.py b/src/compas_ifc/file.py index 0f6c988..696a796 100644 --- a/src/compas_ifc/file.py +++ b/src/compas_ifc/file.py @@ -15,6 +15,8 @@ class IFCFile(object): def __init__(self, model, filepath=None, schema="IFC4", use_occ=False, load_geometries=True, verbose=True): + + self.verbose = verbose self.ensure_classes_generated() self._entitymap = {} self._geometrymap = {} @@ -30,7 +32,6 @@ def __init__(self, model, filepath=None, schema="IFC4", use_occ=False, load_geom self.filepath = filepath self.model = model self.use_occ = use_occ - self.verbose = verbose if filepath is None: self._file = ifcopenshell.file(schema=schema) if self.verbose: