Jump to content

Hide template pages w/ no data


---
 Share

Recommended Posts

I think I've asked this before, but it's been a while, so here goes.

Our current practice is to add curve forms to graphics elements. This allows me to set the elements to only display certain curve segments (since we have multiple measurement gaps in most of our curve features), and allows me to select the graphics element characteristics as part of a mini-plan. This means that only the curve forms that are evaluated in a mini-plan are displayed, and mini-plans with no curves do not create empty elements.

With the 2022 update removing graphics element creation, I'm forced* to switch to Piweb templates to display profiles graphically. The closest I've been able to get to the old setup is to apply segmented tolerances in the feature, create a program-specific copy of the form plot template, create duplicate pages, and explicitly bind individual profile characteristics to the protocols and line profile entities. In this way, I can limit the Piweb elements per page to only one profile, which allows me to set the displayed segments for that profile within the template. If I just leave the template to handle all the profiles with one element like the generic template does, I get plots with graphs that include all the segments, including those I didn't actually scan and did not include in the profile evaluation.

This is where the problem is. Because this is just a Piweb template, the whole thing is displayed regardless of how many of the profiles were actually measured, meaning random empty pages for reduced-inspection mini-plans. I can't select individual plots to show or not show like I could with graphics elements. Further, if I run a mini-plan that doesn't check any profiles, I'll get a plot protocol displayed that's completely empty. Is there some way for me to get the Piweb report to mimic the old method, and only output pages that have something to show?

*I can work around the graphics element menu removal by copy/pasting elements from other programs and working with them like that, but this is a really silly and tedious way to avoid the problem.
Link to comment
Share on other sites

 Share

×
×
  • Create New...