diff --git a/src/ifcwrap/IfcGeomWrapper.i b/src/ifcwrap/IfcGeomWrapper.i index 29264499c5..8e568ce0ea 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -204,6 +204,9 @@ struct ShapeRTTI : public boost::static_visitor %} } +%newobject construct_iterator_with_include_exclude; +%newobject construct_iterator_with_include_exclude_globalid; +%newobject construct_iterator_with_include_exclude_id; // I couldn't get the vector typemap to be applied when %extending Iterator constructor. // anyway it does not matter as SWIG generates C code without actual constructors @@ -230,10 +233,6 @@ struct ShapeRTTI : public boost::static_visitor } %} -%newobject construct_iterator_with_include_exclude; -%newobject construct_iterator_with_include_exclude_globalid; -%newobject construct_iterator_with_include_exclude_id; - %extend IfcGeom::Representation::Triangulation { %pythoncode %{ # Hide the getters with read-only property implementations