Add geom part id to name/title of WellLogExtraction curve

This commit is contained in:
Jørgen Herje 2023-05-26 08:57:01 +02:00 committed by Magne Sjaastad
parent ee5f89c343
commit 66db9d73a9

View File

@ -1166,6 +1166,12 @@ QString RimWellLogExtractionCurve::createCurveAutoName()
if ( m_addCaseNameToCurveName && m_case() )
{
generatedCurveName.push_back( m_case->caseUserDescription() );
// Add part to curve name for geo mech cases with more than 1 part
if ( geomCase && geomCase->geoMechData() && geomCase->geoMechData()->femParts() && geomCase->geoMechData()->femParts()->partCount() > 1 )
{
generatedCurveName.push_back( QString( "Part %1" ).arg( m_geomPartId ) );
}
}
if ( m_addPropertyToCurveName && !wellLogChannelUiName().isEmpty() )