diff --git a/src/ifcwrap/IfcGeomWrapper.i b/src/ifcwrap/IfcGeomWrapper.i index 8c619fb91e..962f06b5aa 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -889,11 +889,11 @@ struct ShapeRTTI : public boost::static_visitor %pythoncode %{ # Hide the getters with read-only property implementations # Keep the owning element alive while its geometry is referenced (#1124). - def _geometry_with_backref(self, _f=geometry): + def geometry_with_backref(self, _f=geometry): result = _f(self) result._parent = self return result - geometry = property(_geometry_with_backref) + geometry = property(geometry_with_backref) %} }; @@ -901,11 +901,11 @@ struct ShapeRTTI : public boost::static_visitor %pythoncode %{ # Hide the getters with read-only property implementations # Keep the owning element alive while its geometry is referenced (#1124). - def _geometry_with_backref(self, _f=geometry): + def geometry_with_backref(self, _f=geometry): result = _f(self) result._parent = self return result - geometry = property(_geometry_with_backref) + geometry = property(geometry_with_backref) %} }; @@ -931,11 +931,11 @@ struct ShapeRTTI : public boost::static_visitor %pythoncode %{ # Hide the getters with read-only property implementations # Keep the owning element alive while its geometry is referenced (#1124). - def _geometry_with_backref(self, _f=geometry): + def geometry_with_backref(self, _f=geometry): result = _f(self) result._parent = self return result - geometry = property(_geometry_with_backref) + geometry = property(geometry_with_backref) volume = property(calc_volume_) surface_area = property(calc_surface_area_) %}