<HTML><HEAD><link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY><TITLE>%mqc_check_single_drawing_note</TITLE><H1>%mqc_check_single_drawing_note </H1><P CLASS="Paragraph">Classname: <B>%mqc_check_single_drawing_note </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>
    Check the existence of the drawing note on drawing.
Parameter:
    (String) note_to_search      - Text to be searched. Can be regular expression
                                   This is a mandatory parameter.
                                   For example:  "*Find*A*Particular*note*";
                                   or  "Find a particular note";
    (Boolean) case_sensitive     - Case sensitive search or not.
                                   True - case sensitive,
                                   False - case insensitive.
                                   The default is False.
    (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.
Results:
   PASS    -- Found the given note or note pattern.
   FAILED  -- Did not find the given note or note pattern.
============================================================================================
</PRE><PRE><FONT COLOR= blue>DefClass: %mqc_check_single_drawing_note( %ug_base_checker );
</FONT></PRE><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">  Check-Mate attributes and parameters </PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( String )               %test_category: "Template.Drafting";
   ( String )               %displayed_name: "Check Text in a Single line Note";
   
</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;
</SPAN></FONT></PRE></DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">  Attributes for drawing and note to check</PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( String )               note_to_search_label: "Text to Search";

</SPAN></FONT></PRE></DIV><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( String Parameter )     note_to_search: "";
   ( Boolean Parameter )    case_sensitive: False;
</SPAN></FONT></PRE></DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">  parameter for log_option                                       </PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( String )               case_sensitive_label: "Case Sensitivity";

   ( integer )              exact_match: 0;
   ( String )               entity_type: "note";
   ( String )               entity_name: "";
                                                  # to all the entities with entity_type:

   ( Boolean )              log_result:  True ;
</SPAN></FONT></PRE></DIV><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( Any Uncached ) do_check:
   
         If  -( note_to_search: = "" | note_to_search: = NoValue )
         Then           
         @{
              $result << mqc_check_notes_existence( note_to_search:,
                                                    case_sensitive:,
                                                    exact_match:,  
                                                    entity_type:,
                                                    entity_name:,
                                                    log_result: 
                                                  );
         }
         else
             ug_mqc_empty_param_warning();

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