<HTML>
<HEAD>
<link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY>
<TITLE>mqc_pdqcad_editCriteria</TITLE>
<H1>mqc_pdqcad_editCriteria</H1><H4>Synopsis</H4><PRE><FONT COLOR = blue>Defun: mqc_pdqcad_editCriteria(
       String, $cfg_file,
       Boolean, $curve_class,
       Boolean, $face_class,
       Boolean, $solid_class,
       Boolean, $drawing_class,
       Name, $criteria_id_option,
       Boolean, $display_dialog,
       Boolean, $custom_curve_dialog,
       List, $curve_criterion,
       Boolean, $custom_face_dialog,
       List, $face_criterion,
       Boolean, $custom_solid_dialog,
       List, $solid_criterion,
       List, $criteria )
@{...} List;

</FONT></PRE><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">

<B>Description:</B>
This function will bring up the VDA edit criteria dialog and let the user
set the criteria parameters in the customization dialog for the VDA checker.

<B>Input:</B>
      (String)   cfg_file       - VDA checker Configuration file
      (Boolean)  curve_class    - Check curve class
      (Boolean)  face_class     - Check face class
      (Boolean)  solid_class    - Check solid class
      (Boolean)  drawing_class  - Check drawing class
      (Name)     criteria_id_option - VDA or SASIG id options
      (Boolean)  display_dialog - true: Display Edit Criteria dialog and get criteria
                                  false: get criteria only without displaying dialog
      (Boolean)  custom_curve_dialog - Display custom curve dialog with criteria set
                                       by the list of curve_criteria
      (List)     curve_criteria      - List of curve criteria that are available in the
                                       custom curve dialog.  For example:
                                       { "G-CU-TI", "G-CU-IS", "G-CU-EM" }
      (Boolean)  custom_face_dialog  - Display custom face dialog with criteria set
                                       by the list of face_criteria
      (List)     face_criteria       - List of face criteria that are available in the
                                       custom face dialog.  For example:
                                       { "G-FA-TI", "G-FA-IS", "G-FA-NA" }
      (Boolean)  custom_solid_dialog - Display custom solid dialog with criteria set
                                       by the list of solid_criteria
      (List)     solid_criteria      - List of solid criteria that are available in the
                                       custom solid dialog.  For example:
                                       { "G-SO-TI", "G-SO-EM", "G-SO-LG" }
      (List)     criteria            - List of criteria

<B>Input Arguments:</B>
cfg_file - VDA checker Configuration file
curve_class - Check curve class
face_class - Check face class
solid_class - Check solid class
drawing_class - Check drawing class
criteria_id_option - VDA or SASIG id options
display_dialog - display edit criteria dialog or not.
custom_curve_dialog - Display custom curve dialog with criteria set by the list of curve_criteria
curve_criterion - List of curve criteria that are available in the custom curve dialog.
custom_face_dialog - Display custom face dialog with criteria set by the list of face_criteria.
face_criterion - List of face criteria that are available in the custom face dialog.
custom_solid_dialog - Display custom solid dialog with criteria set by the list of solid_criteria.
solid_criterion - List of solid criteria that are available in the custom solid dialog.
criteria - List of criteria

<B>Returns:</B>
List of curve, face, solid and drawing criteria.
Format:
    {{{value, check_curve_criterion_1, log_violation, no_embed_check},
      ...
      {value, check_curve_criterion_n, log_violation, no_embed_check}
     },
     {{value, check_face_criterion_1, log_violation, no_embed_check},
      ...
      {value, check_face_criterion_n, log_violation, no_embed_check}
     },
     {{value, check_solid_criterion_1, log_violation, no_embed_check},
      ...
      {value, check_solid_criterion_n, log_violation, no_embed_check}
     },
     {{value, check_drawing_criterion_1, log_violation, no_embed_check},
      ...
      {value, check_drawing_criterion_n, log_violation, no_embed_check}
     }
    }

<B>See Also:</B>
</PRE></FONT></PRE>
<p class=EndLine>&nbsp;</p>
<p class=blank>&nbsp;</p>
</BODY>
</HTML>
