QStringList HYDROData_ProfileUZ::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
{
QStringList aResList = dumpObjectCreation( theTreatedObjects );
- QString aName = GetName();
+ QString aName = GetObjPyName();
// Set polilyne data
const TCollection_AsciiString& aSectName = GetSectionName( 0 );
{
const Point& aSectPoint = aSectPointsList.Value( k );
- aResList << QString( "%1.AddPoint( 0, QPointF( %2, %3 ) );" ).arg( aName )
+ aResList << QString( "%1.AddPoint( 0, gp_XY( %2, %3 ) );" ).arg( aName )
.arg( aSectPoint.X() ).arg( aSectPoint.Y() );
}