hexagon logo

MAX or MIN not shown in red, only if MEAS is OOT

Is this a software bug or is there a setting that can be changed so that they appear in red when it is either the maximum or minimum of a dimension OOT?

Thanks
Parents
  • Chris C is right, Distance is old school legacy. If the distance is a feature of size, (either a width or opposing faces) you can use the size command.

    Doesn't help you though if it's a step height i.e. both faces have the same vector.

    In that case you could do it in the reporting template.

    The report templates use the TOL function to test if the out of tol value is greater or less than zero, and if so it colours the dimension the error colour (usually red).

    From the help of the TOL function

    *TOL(<expression1>, <expression2>, <expression3>, <expression4>Wink
    expression1 is the string to color, expression2 is the test value, expression3 is the maximum in-tolerance value, and expression4 is the minimum in-tolerance value. If the test value is in tolerance (between the values for expression3 and expression4), then the software colors the text black. Otherwise, the software colors the text with the error color (usually red). You can define the error color in the Color Editor dialog box (Edit | Preferences | Edit Window Colors).

    For example, this code displays the text "In Tolerance" in black:
    =TOL("In Tolerance",100,100.5,99.5)
    This code displays the text "Out of Tolerance" in the error color (by default, this is red):
    =TOL("Out of Tolerance",99,100.5,99.5)


    This is how it looks in the Max cell of the Legacy Dimension Label (used for distance)

    =TOL(DIM_MAX:N,DIM_OUTTOL:N,0.0,0.0)

    IF you changed it to (for the MAX cell)

    =TOL(DIM_MAX:N,DIM_MAX:N,NOMINAL:N+F_PLUS_TOL,0.0)

    and (for the MIN cell)

    =TOL(DIM_MIN:N,DIM_MIN:N,0.0,NOMINAL:N-F_MINUS_TOL)

    The it would colour just the max or min cells red if they exceeded the tolerance.


    I've not tested this by the way, but it should work.

Reply
  • Chris C is right, Distance is old school legacy. If the distance is a feature of size, (either a width or opposing faces) you can use the size command.

    Doesn't help you though if it's a step height i.e. both faces have the same vector.

    In that case you could do it in the reporting template.

    The report templates use the TOL function to test if the out of tol value is greater or less than zero, and if so it colours the dimension the error colour (usually red).

    From the help of the TOL function

    *TOL(<expression1>, <expression2>, <expression3>, <expression4>Wink
    expression1 is the string to color, expression2 is the test value, expression3 is the maximum in-tolerance value, and expression4 is the minimum in-tolerance value. If the test value is in tolerance (between the values for expression3 and expression4), then the software colors the text black. Otherwise, the software colors the text with the error color (usually red). You can define the error color in the Color Editor dialog box (Edit | Preferences | Edit Window Colors).

    For example, this code displays the text "In Tolerance" in black:
    =TOL("In Tolerance",100,100.5,99.5)
    This code displays the text "Out of Tolerance" in the error color (by default, this is red):
    =TOL("Out of Tolerance",99,100.5,99.5)


    This is how it looks in the Max cell of the Legacy Dimension Label (used for distance)

    =TOL(DIM_MAX:N,DIM_OUTTOL:N,0.0,0.0)

    IF you changed it to (for the MAX cell)

    =TOL(DIM_MAX:N,DIM_MAX:N,NOMINAL:N+F_PLUS_TOL,0.0)

    and (for the MIN cell)

    =TOL(DIM_MIN:N,DIM_MIN:N,0.0,NOMINAL:N-F_MINUS_TOL)

    The it would colour just the max or min cells red if they exceeded the tolerance.


    I've not tested this by the way, but it should work.

Children
No Data