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;