{
}
-QStringList HYDROData_Polyline3D::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
+QStringList HYDROData_Polyline3D::DumpToPython( const QString& thePyScriptPath,
+ MapOfTreatedObjects& theTreatedObjects ) const
{
QStringList aResList = dumpObjectCreation( theTreatedObjects );
QString aPolylineName = GetObjPyName();
Handle(HYDROData_PolylineXY) aRefPolyline = GetPolylineXY();
- setPythonReferenceObject( theTreatedObjects, aResList, aRefPolyline, "SetPolylineXY" );
+ setPythonReferenceObject( thePyScriptPath, theTreatedObjects, aResList, aRefPolyline, "SetPolylineXY" );
Handle(HYDROData_ProfileUZ) aRefProfileUZ = GetProfileUZ();
if ( !aRefProfileUZ.IsNull() )
{
Handle(HYDROData_Profile) aProfile =
Handle(HYDROData_Profile)::DownCast( aRefProfileUZ->GetFatherObject() );
- if ( checkObjectPythonDefinition( theTreatedObjects, aResList, aProfile ) )
+ if ( checkObjectPythonDefinition( thePyScriptPath, theTreatedObjects, aResList, aProfile ) )
{
QString aProfileName = aProfile->GetObjPyName();
if ( !aProfileName.isEmpty() )
{
Handle(HYDROData_Profile) aProfile =
Handle(HYDROData_Profile)::DownCast( aChildProfileUZ->GetFatherObject() );
- if ( checkObjectPythonDefinition( theTreatedObjects, aResList, aProfile ) )
+ if ( checkObjectPythonDefinition( thePyScriptPath, theTreatedObjects, aResList, aProfile ) )
{
QString aProfileName = aProfile->GetObjPyName();
if ( !aProfileName.isEmpty() )
}
}
- setPythonReferenceObject( theTreatedObjects, aResList, aRefBathymetry, "SetAltitudeObject" );
+ setPythonReferenceObject( thePyScriptPath, theTreatedObjects, aResList, aRefBathymetry, "SetAltitudeObject" );
}
}