hexagon logo

Header Tracefield conditional text color

I'm trying to use a Tracefield in the header that shows the number of out of tolerance dimensions. How can I make it green for 0 and red for any other color. Either the text itself, or the background color would be great!
Parents
  • I actually just figured out something. Not sure how much you can implement it. If you press Shift + F6 in edit window
    Parameters > Trace Field
    Change any of the colors fields there (I did Step Mode) which is ~~3 for color code, and I added to my reported trace field
    Text turned green.

    TRACEFIELD/DISPLAY=NO,REPORT=YES,DISPLAY MESSAGE=How many dimensions are out of Tolerance? ; Dimensions Out Of Tolerance : ~~3 V2
    
Reply
  • I actually just figured out something. Not sure how much you can implement it. If you press Shift + F6 in edit window
    Parameters > Trace Field
    Change any of the colors fields there (I did Step Mode) which is ~~3 for color code, and I added to my reported trace field
    Text turned green.

    TRACEFIELD/DISPLAY=NO,REPORT=YES,DISPLAY MESSAGE=How many dimensions are out of Tolerance? ; Dimensions Out Of Tolerance : ~~3 V2
    
Children
No Data