- Handle(HYDROData_Zone) aSplittedZone =
- Handle(HYDROData_Zone)::DownCast( anIter.Value() );
- if ( !aSplittedZone.IsNull() )
- setPythonReferenceObject( theTreatedObjects, aResList, aSplittedZone, "AddSplittedZone" );
+ Handle(HYDROData_Region) aRegion =
+ Handle(HYDROData_Region)::DownCast( anIter.Value() );
+ if ( !aRegion.IsNull() )
+ setPythonReferenceObject( theTreatedObjects, aResList, aRegion, "AddRegion" );