diff --git a/src/ifcwrap/IfcParseWrapper.i b/src/ifcwrap/IfcParseWrapper.i index 6688d2440b..4a86c9a932 100644 --- a/src/ifcwrap/IfcParseWrapper.i +++ b/src/ifcwrap/IfcParseWrapper.i @@ -45,7 +45,7 @@ identifier = schema_identifier else: identifier = self._determine_schema_identifier(schema=schema, schema_version=schema_version) - $action(self, identifier) + _ifcopenshell_wrapper.file_swiginit(self, $action(identifier)) %} %ignore ifcopenshell::instance_streamer>::read_instance;