From 2e3c733c0d93ff1d7570da4e035f9f7a7e32fac0 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 17 Jun 2025 12:43:41 +0500 Subject: [PATCH] IfcParseWrapper - exclude instances_by_reference As it does exactly the same as get_inverse() --- src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi | 1 - src/ifcwrap/IfcParseWrapper.i | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi index 1eef8b4df3..09f797b260 100644 --- a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi +++ b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi @@ -942,7 +942,6 @@ class file: @property def header(self) -> IfcSpfHeader: ... def ifcroot_type(self) -> entity: ... - def instances_by_reference(self, id): ... def internal_guid_map(self): ... def load(self, entity_instance_name, entity, arg4, attribute_index): ... def recalculate_id_counter(self): ... diff --git a/src/ifcwrap/IfcParseWrapper.i b/src/ifcwrap/IfcParseWrapper.i index 84a5e4e642..2b92fe05e0 100644 --- a/src/ifcwrap/IfcParseWrapper.i +++ b/src/ifcwrap/IfcParseWrapper.i @@ -29,6 +29,8 @@ private: %ignore IfcParse::IfcFile::schema; %ignore IfcParse::IfcFile::begin; %ignore IfcParse::IfcFile::end; +// Available as get_inverse(). +%ignore IfcParse::IfcFile::instances_by_reference; %ignore parse_context;