Variable Graphic Legend: Symbols from 2 Tables in 1 Entity



  
 Applies To 
  
 Product(s):gINT Professional, gINT Professional Plus
 Version(s):N/A
 Environment: N/A
 Area: Report-Graphic Text Doc
 Subarea: 
 Original Author:Kathleen Holcomb, Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

We have graphics in two different table tabs in INPUT that we would like to display as one variable legend entity.  Can this be done?

No, you will need to use two variable legend entities.  But, you can have the bottom entity automatically move up and down, so that the symbols appear as if they are one entity.  In this example, soil and rock graphics are in two different table tabs:

The entity for the rock symbols has this expression in the Output Override Y property on the Configuration tab:

<<Calc(212 - (10.25 * <<CountUnique(<<SOIL DESCRIPTION.Graphic>>)>>))>>

212 is the Y value for the soil symbol entity.

10.25 is the Row Spacing (space between each symbol).

CountUnique is the function that counts how many rows of soil symbols there will be.

That's nice, but the soil and rocks are not alphabetical.

You can use the CountUnique function to put the rock symbols in a separate section just below the soil symbols:

The rock variable legend entity, rock label entity and the dividing line separating soil from rock are in a private block.  To keep the dividing line and the rock label from printing when there are no rock symbols, the private block has an output condition:

<<HasData(<<ROCK DESCRIPTION.Graphic>>)>>

Download example files:

communities.bentley.com/.../269638.aspx