I've got a .map file which is called by various services. It will start, get fed a number, perform an AOI update, and output a pdf (from a layout) that will be emailed to the sender.
My current problem is that there are two layers that we're interested in, but the map should only display one. They are lines (contours). We should basically say, if Con_A has some records, show Con_B, otherwise show Con_B.
At the moment my default understanding is to always show Con_A. If it has nothing in then that's fine. However, if it does have any records at all (after the AOI update), then Con_B is made invisible.
Would anyone know, for instance, if it's possible to add a script to the layouts so that it makes this judgement when they're loaded, or any other viable alternative? Or to the map the layouts refer to (where the visibility would be set anyway)?