diff --git a/src/ifcwrap/IfcGeomWrapper.i b/src/ifcwrap/IfcGeomWrapper.i index b6dffb3b6e..4cef5f9b23 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -794,11 +794,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) %} }; @@ -806,11 +806,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) %} }; @@ -836,11 +836,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_) %}