<HTML><HEAD><link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY><TITLE>%mqc_check_nonfeature_holes</TITLE><H1>%mqc_check_nonfeature_holes  </H1><P CLASS="Paragraph">Classname: <B>%mqc_check_nonfeature_holes  </B></P><P CLASS="Paragraph">Inherits from: <B><A href=..\checkmate\xug_base_checker.html>%ug_base_checker </A></B></P><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"> </PRE><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">
<B>Description:</B>
    This checker identifies nonfeature based cylindrical holes that are created
    by means of boolean operations.
Parameters:
    (Boolean)  disabled?        -  If it is true, the checker is disabled.
                                   Default is False.
    (Boolean)  save_log_in_part -  The flag indicates whether the checking results can
                                   be saved to the part file
                                   Default is True.
    (String)  log_msg           - User defined message to be added when the system reports the violation.
                                  Default is an empty string.
Results:
    INFO   -   No non-feature based holes or
               list of non-feature based holes.
</PRE><PRE><FONT COLOR= blue>DefClass: %mqc_check_nonfeature_holes ( %ug_base_checker ); 
</FONT></PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( String )               %test_category:  "Get Information.Modeling";
   ( String )               %displayed_name: "Check non-feature based cylindrical holes";

</SPAN></FONT></PRE></DIV><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( Boolean Parameter )    Disabled?: False;
   ( Boolean Parameter )    save_log_in_part: True;
   ( String Parameter )     log_msg: "";
</SPAN></FONT></PRE></DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">   Checker function</PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( string )               log_msg_label: "Log Message";
   

</SPAN></FONT></PRE></DIV><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   (Any Uncached)   do_check: 
@{ 
   $non_feat_holes << mqc_askNonfeatureCylindricalHoles();

   $count << length($non_feat_holes);

   if ($count > 0) then
   @{
       $msg << "Found "+Stringvalue($count)+" nonfeature based cylindrical hole(s).";

       $usr_msg << If ( "" = log_msg: ) Then "" Else log_msg: + "~n";

       ug_mqc_log( LOG_INFO, $non_feat_holes, $usr_msg+$msg );
   }
   else
   @{
       $msg << "No nonfeature based hole.";

       $usr_msg << If ( "" = log_msg: ) Then "" Else log_msg: + "~n";

       ug_mqc_log( LOG_INFO, {}, $usr_msg+$msg );
   };

 };












</SPAN></FONT></PRE></DIV></TABLE><p class=EndLine>&nbsp;</p><p class=blank>&nbsp;</p></BODY></HTML>