While using Excel report manager, selecting an existing save report to be applied to the current model displays the following message: "Report not compatible with the currently opened Database". This occurs because the original model use to generate the saved report contained information not available in the current models database.
Example, original model was ASME NB, current model is ASME B31.1. The original model has Stress Summary data where the ASME model does not have any results for this sub-report. Thus the message is displayed.
Introduce a feature that allows AutoPIPE to gracefully handle missing subsections in report templates by:
Automatically Skipping Missing Sections
If a subsection is not available in the current model, AutoPIPE should omit it from the center column of selected tables and allow the user to generate a excel report.
Provide a Compatibility Summary
After export, display a message such as:
“Report generated successfully. The following sections were skipped because they are not available in the current model: [List of sections].”
Optional User Control
Add a checkbox in the report export dialog:
“Skip unavailable sections automatically”
Checked by default for convenience.
If unchecked, AutoPIPE can prompt the user to edit the template before proceeding.
Improves User Efficiency: Eliminates the need to manually edit templates for minor model differences.
Enhances User Experience: Avoids hard errors and provides clear feedback.
Maintains Flexibility: Users can choose strict template adherence if required.