hexagon logo
Parents
  • Another variation for a solution.

    Go up and find first FCF of linear profile type (eg. FCFLOC1)
    Get the name of the feature being evaluated (eg. SCN1)

    Initialize COUNT
    Get T_A_VALUE (min or max)
    Get T_A_DEV

    Get name of individual feature in SCN1 (e.g. scn1[1] = APNT1
    If T_A_Value is either min or max, output it with deviation

    In the edit screen.......
    ASSIGN/COMMAND_NAME=GETCOMMAND(“FCF line profile”,”up”,1)
    ASSIGN/FEAT_NAME=GETTEXT(657,1,{COMMAND_NAME})
    [COLOR=#FF0000]ASSIGN/V1=GETTEXT(“Reference Id”,COUNT,{FEAT_NAME})[/COLOR]
    ASSIGN/COUNT=0
    
    DO/
    ASSIGN/COUNT=COUNT+1
    ASSIGN/TEXT_ANALYSIS_VALUE=GETTEXT(762,COUNT,{COMMAND_NAME})
    ASSIGN/TEXT_ANALYSIS_DEVIATION=GETTEXT(761,COUNT,{COMMAND_NAME})
    
    IF/TEXT_ANALYSIS_VALUE==“MIN” OR TEXT_ANALYSIS_VALUE==“MAX”
    COMMENT/REPT,””+FEAT_NAME + “[“+COUNT+“]“[COLOR=#FF0000]+”{“+V1+”}  “+”=  “[/COLOR]+TEXT_ANALYSIS_DEVIATION+”   “ +TEXT_ANALYSIS_VALUE
    END_IF/
    
    UNTIL/COUNT>FEAT_NAME.NUMHITS-1
    
  • I always prefer assignments than scripts...
    Maybe because I'm too bad in scripting Disappointed
Reply Children
No Data