Colour coding legends

Is there a way in Fence drawings to force the legend to have a colour fill according to its Geol Code.

For example, if it was a Made Ground and I set a Geol Code of MG for that material, how would I get it to backfill red in the column on the fence?

There must be an expression for this but I can't figure it.

Parents
  • Mr_Adam, the simplest way to do this is to set the symbol background color for the MG symbol to Red in the SYMBOL DESIGN application Material tab, by adding a SOLID in the first column (Fill Type![Symbol]), and setting the Override Color column to Very Light Red for that row.

    This will result in the MG symbol always being red, even on other Fence and Log reports.



Reply
  • Mr_Adam, the simplest way to do this is to set the symbol background color for the MG symbol to Red in the SYMBOL DESIGN application Material tab, by adding a SOLID in the first column (Fill Type![Symbol]), and setting the Override Color column to Very Light Red for that row.

    This will result in the MG symbol always being red, even on other Fence and Log reports.



Children
  • I am fairly new to gINT but I think I have managed to solve this one. I have created a Library Table called GEOL_COLOUR with the Gology reference, brief description and colour allocation fields. This table can then be referred to in the background fill Section Color Expression. "<<Lookup(<<GEOL_COLOUR.GEOL_COLOUR>>,<<GEOL.GEOL_GEOL>>)>>". I have also found that you need to have an Output Condition check so that everything that is not coded does not appear black. "<<HasData(<<GEOL.GEOL_GEOL>>)>>".
    The FIll Type is still "Matl!<<GEOL.GEOL_LEG>> " which gives the meaterial legend with the apporporate colour background.

    By using a library table rather than a project table opens up it's use across projects.

    My next problem is to modify the Variable Legend to show the colours and their geological references. Ideas welcomed!