diff --git a/ApplicationCode/Commands/CompletionExportCommands/RicFishbonesTransmissibilityCalculationFeatureImp.cpp b/ApplicationCode/Commands/CompletionExportCommands/RicFishbonesTransmissibilityCalculationFeatureImp.cpp index ecee3fc82b..e2d8f398fa 100644 --- a/ApplicationCode/Commands/CompletionExportCommands/RicFishbonesTransmissibilityCalculationFeatureImp.cpp +++ b/ApplicationCode/Commands/CompletionExportCommands/RicFishbonesTransmissibilityCalculationFeatureImp.cpp @@ -349,7 +349,7 @@ void RicFishbonesTransmissibilityCalculationFeatureImp::appendMainWellBoreParts( for ( const auto& cellIntersectionInfo : intersectedCellsIntersectionInfo ) { - QString completionMetaData = wellPath->name() + " main bore"; + QString completionMetaData = wellPath->completions()->wellNameForExport() + " main bore"; WellBorePartForTransCalc wellBorePart = WellBorePartForTransCalc( cellIntersectionInfo.intersectionLengthsInCellCS, holeRadius, skinFactor, diff --git a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathFractureTextReportFeatureImpl.cpp b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathFractureTextReportFeatureImpl.cpp index 467990dc67..cecfad0c1a 100644 --- a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathFractureTextReportFeatureImpl.cpp +++ b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathFractureTextReportFeatureImpl.cpp @@ -40,6 +40,7 @@ #include "RimTools.h" #include "RimWellPath.h" #include "RimWellPathCollection.h" +#include "RimWellPathCompletions.h" #include "RimWellPathFracture.h" #include "RimWellPathFractureCollection.h" @@ -252,7 +253,7 @@ QString RicWellPathFractureTextReportFeatureImpl::createWellFileLocationText( co auto fileWellPath = dynamic_cast( wellPath ); if ( fileWellPath ) { - formatter.add( wellPath->name() ); + formatter.add( wellPath->completions()->wellNameForExport() ); formatter.add( fileWellPath->filePath() ); formatter.rowCompleted(); } @@ -563,7 +564,7 @@ QString RicWellPathFractureTextReportFeatureImpl::createFractureInstancesText( fracture->firstAncestorOrThisOfType( wellPath ); if ( wellPath ) { - wellName = wellPath->name(); + wellName = wellPath->completions()->wellNameForExport(); } formatter.add( wellName );