- QStringList aResList = HYDROData_Entity::DumpToPython( theTreatedObjects );
- QString aPolylineName = GetName();
+ QStringList aResList = dumpObjectCreation( theTreatedObjects );
+ QString aPolylineName = GetObjPyName();
aResList << QString( "%1.AddSection( \"%2\", %3, %4 );" ).arg( aPolylineName )
.arg( aSectName.ToCString() ).arg( aSectType ).arg( aSectClosure );
aResList << QString( "%1.AddSection( \"%2\", %3, %4 );" ).arg( aPolylineName )
.arg( aSectName.ToCString() ).arg( aSectType ).arg( aSectClosure );
for ( int k = 1, aNbPoints = aSectPointsList.Size(); k <= aNbPoints; ++k )
{
const Point& aSectPoint = aSectPointsList.Value( k );
for ( int k = 1, aNbPoints = aSectPointsList.Size(); k <= aNbPoints; ++k )
{
const Point& aSectPoint = aSectPointsList.Value( k );