Salome HOME
Dump to python corrected.
[modules/hydro.git] / src / HYDROData / HYDROData_Zone.cxx
index f90f02873d021154215d5a7f5f194dbea5b8a0df..d9789f00fca254fa0d74c655589531ad7a4d5f89 100644 (file)
@@ -44,6 +44,10 @@ QStringList HYDROData_Zone::DumpToPython( MapOfTreatedObjects& theTreatedObjects
 
   // How can we get the shape? Mb Update() method to intersect the shapes of reference objects?
   // TODO:  TopoDS_Shape aRefShape = GetShape();
+  QString aName = GetObjPyName();
+  aResList << QString( "" );
+  aResList << QString( "%1.Update();" ).arg( aName );
+  aResList << QString( "" );
 
   return aResList;
 }