Condition Gauge
Previous Topic  Next Topic 



   

Here is an example of a condition object used on a gauge.  In this condition, if the gauge reads over 6, the background turns hatched, as demonstrated by the image on the right.


Another way to use a condition is inside a needle object, so that if the value matches the condition the needle changes color or images. 


OBJECT

PROPERTIES

Wedge

  • Wedge Sweep=180
  • Pen Width=0.5
  • Pen Color=(231,225,1)
  • Brush Style=Gradient
  • Gradient Style=Radial
  • Gradient Points=(Pick point one in center horizontally and at the bottom of the center tick mark and point two in the center horizontally and at the bottom of the wedge)
  • Gradient Radius 1=1
  • Gradient Radius 2=20
  • Gradient Color Stops=

     [100, (0, 0, 0), 255]

     [0, (192, 192, 192), 255]

Condition

(All under Condition One)

  • Operator=Less Than Or Equal
  • Value=6000
  • PID=SAE.RPM
  • Value Type=Value (Number)
  • Unit System=English

Container (True)

(Default Options)

Container (False)

(Default Options)

Wedge

  • Wedge Sweep=180
  • Pen Style=Transparent
  • Brush Style=Hatch
  • Hatch Style=Sphere
  • Hatch Scale=0.5

Needle

  • Type=Circular
  • Center Point=(Bottom center of gauge)
  • Sweep=180
  • PID=SAE.RPM
  • Value Type=Value (Number)
  • Unit System=English

Line

  • Start Point=(Same as needle center point)
  • End Point=(Below middle of first tick mark)
  • Width=1,0.5,0
  • Brush Color=(254,248,1)

Tick Marks

  • Type=Circular
  • Tick Count=9
  • Label Start-End Range=0-8
  • Horizontal Radius=19
  • Vertical Radius=19
  • Angle=200
  • Sweep=140
  • Length=20

Line

(Default Options)

Text

(Default Options)