diff --git a/src/bonsai/bonsai/bim/module/pset_template/operator.py b/src/bonsai/bonsai/bim/module/pset_template/operator.py index 3d2921404d..49f54e2aec 100644 --- a/src/bonsai/bonsai/bim/module/pset_template/operator.py +++ b/src/bonsai/bonsai/bim/module/pset_template/operator.py @@ -121,7 +121,7 @@ class EnableEditingPropTemplate(bpy.types.Operator): prop_template: bpy.props.IntProperty() def execute(self, context): - tool.PsetTemplate.enable_editing_prop_template(tool.Ifc.get().by_id(self.prop_template)) + tool.PsetTemplate.enable_editing_prop_template(IfcStore.pset_template_file.by_id(self.prop_template)) return {"FINISHED"}