diff --git a/Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/PlantReadPath.cs b/Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/PlantReadPath.cs index 2fde9ab..19e30b2 100644 --- a/Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/PlantReadPath.cs +++ b/Plant3D2026/P_Rec_Annot/src/PRecAnnot.Plant3D2026/PlantReadPath.cs @@ -163,7 +163,9 @@ internal sealed class PlantOrthoViewportReader : IOrthoViewportReader if (files is null) return null; foreach (var file in files) { - var value = file as string ?? file?.GetType().GetProperty("Value")?.GetValue(file)?.ToString(); + var value = file as string + ?? file?.GetType().GetProperty("ModelFileName")?.GetValue(file)?.ToString() + ?? file?.GetType().GetProperty("Value")?.GetValue(file)?.ToString(); if (!string.IsNullOrWhiteSpace(value)) return value; } }