Docstoc

pc-dmis Templates Training

Document Sample
pc-dmis Templates Training Powered By Docstoc
					      pc-dmis version 4.2




          Reporting Training
Slide 1
Slide 2
          Report Window


              Report
            Window is
               now
            separate
            from Edit
             Window




Slide 3
            Report Window
                                                   Report
                                                   Window
                                                   Toolbar




                                                   Standard
                                                   windows
                                                  controls to
                                                  minimize,
                                                    restore
                                                  and close.
           Starting with PC-DMIS version 4 the
          Report and Edit Windows are separate.
Slide 4
                New Menu for Reporting
          Version 3.7             Version 4.2




Slide 5
                New Menu for Reporting
          Version 3.7                  Version 4.2




                             Access to Template and
                             Custom Report Editors
Slide 6
Menu for Insert Report Command



           Differences in Menu:
          1. Hyperview Report has
             been replaced by
             Custom Report,
             Template Report and
             Legacy Report
          2. Menu list is now
             alphabetized.
          3. Menu item “Screen
             Capture” has been
             added.
Slide 7
          Edit Window Layout Dialog
          Version 3.7                        Version 4.2




                 Hyper-Reports
                 can no longer
                   be created
                  starting with
                       v4!

    Now done
      in the
     Report                       Reflects that Edit Window and
     Window                        Report Window have been
                                            separated



Slide 8
Slide 9
               Six Standard Reports
           • TEXTONLY.RTP
             • Text reporting with labels
             • Default template unless registry entry specifies
               another template
           • CADONLY. RTP
             • Entire report based on Cad Object with labels
             • Page orientation is Portrait
           • TEXTANDCAD. RTP
             • Top half Cad (Cad Object) with labels
             • Bottom half text (Text object) with labels
Slide 10
              Six Standard Reports
           • GRAPHICALANALYSIS. RTP
             • Feature information is presented in the
               Graphical Analysis chart
           • CADONLY_LANDSCAPE. RTP
             • Like CADONLY.RTP, the entire report based on
               Cad Object with labels
             • Page orientation is Landscape
           • PPAP. RTP
             • Production Part Approval Process report
             • Concise tabulated report
Slide 11
                 Standard Reports
                                           Header

     1-Touch Reporting




  TEXTONLY

                                          Feature

           Also the default
            report format
                              Dimension
Slide 12
                  Standard Reports

      1-Touch Reporting
                                                      CAD




 TEXTANDCAD

                                                      Text

            Note that labels on
           CAD and Text match         # of pages is
                                     determined by
                                  format and amount
Slide 13                                 of data
                Standard Reports

      1-Touch Reporting




           CADONLY




   All 5 dimensions
  shown on one page

Slide 14
               Standard Reports

    1-Touch Reporting




GRAPHICALANALYSIS



  Graphs for Circularity,
 Cylindricity, Flatness and
       Straightness
Slide 15
              Standard Reports

   1- Touch Reporting
                        CADONLY_LANDSCAPE




                                 CADONLY report in
                                 Landscape instead
                                     of Portrait
                                    orientation



Slide 16
                Standard Reports

      1-Touch Reporting




           PPAP




             Quickly determine
           acceptance or rejection
Slide 17
           Standard Reports

                         ViewSets
                        are not new




                        What is new
                           is their
                        effect on the
                           Report.
Slide 18
               Standard Reports




                  New page and new CAD view


       ViewSets allow different CAD views in the Report
Slide 19
                Status Window




Also works in
 Command
    Mode           Status Window shows
                     report for current
Slide 20                 command
Slide 21
           Ways to Customize a Report
     Right click in the text section of a report and select:
     1. “Edit Object” to specify what data is to be included
        in the report (e.g. Features, Alignments, etc.)
     2. “Duplicate Page” to make a copy in the Report
        Window of the current page
     3. “Add Object on Page / Section Cut Profile” to add a
        cut-away view of the CAD model
     4. “Add Object on Page / Custom Label” to add a label
        to the page based on a selected label template
     5. “Remove Object Modifications” to Undo
        modifications to an object

Slide 22
           Ways to Customize a Report
       6. Right click on a label and select “Edit Object” to
          specify what data is to be included in a label
       7. Right click on a label and select “Change Template”
          to change the formatting of that data
       8. Right click on a CAD label and select “Hide
          Selected Labels” to make the label not visible
       9. Right click on a CAD image that has hidden labels
          and select “Show Hidden Labels” to make the
          hidden labels visible
       10.Double-click on a CAD image to modify the zoom
         and orientation of the image

Slide 23
           Ways to Customize a Report
       11.Double-click on a CAD label to reposition the
         label
       12.Right click on a CAD image and select “Edit
         Object” to access the Label Layout Wizard
       13.Right click the GraphicalAnalysis object and
         change its properties
       14.Double click GraphicalAnalysis object and change
         zoom and orientation
       15.File | Reporting | Clear Template Associated Data
       16.File | Reporting | Clear All Template
         Associated Data
Slide 24
 Customizing a Generated Report
           Clear Template Associated Data
           –   Removes all report customizing used in the current
               part program with the current selected report
               template




Slide 25
           What Template is Used?
   New part program (order of precedence):

   1. The report template specified as the default report
      template in the registry, if one exists,
   2. TEXTONLY.RTP, if it can be found,
   3. default.rtp, if it can be found,
   4. default.rtp, which PC-DMIS creates.




Slide 26
           What Template is Used?
   Existing part program (order of precedence):

   1. the default report template for this part program, if one
      has been established by clicking the "Set as Default
      Template" button,
   2. the report template specified as the default report
      template in the registry, if one exists,
   3. TEXTONLY.RTP, if it can be found,
   4. default.rtp, if it can be found,
   5. default.rtp, which PC-DMIS creates.

Slide 27
Slide 28
                 Report Window
 PC-DMIS includes template
    name in the Report
     Window Title Bar




Slide 29
             Report Window Toolbar
                                          Save        Report             Saved
                                         Layout     Magnification        Custom
                 Set Report as                                           Reports
                    Default                        Full Report
                                                     Mode




Redraw the                   Print the
                                              Last Execution        Saved Report
  Report                      Report
                                               Report Mode           Templates
                                                                     including 6
     Template             Custom                                       standard
     Selection            Report                                        report
      Dialog             Selection                                    templates
                          Dialog

Slide 30
           Template Selection Dialog




           When you click on
              the Template
            Selection Dialog
           icon you get a list
                of Report
                Templates

Slide 31
           Template Selection Dialog




      Click to add your report
                                      Close Dialog
        template to this list

                   Remove from List
Slide 32
           Template Selection Dialog




 Image preview directly
  from template unless
                          Click on template then click
    specified by user
                           Open to use this template
                             in the Report Window
Slide 33
           Change Previews


                          Can change
                          preview for
                        report and label
                           templates




Slide 34
           Change Previews




                   Any .bmp or .jpg file can
                       be used. Make
                    proportions about 1:1
Slide 35
           New PC-DMIS Font



                   •   New font
                   •   Loaded with PC-DMIS
                   •   Provides GD&T symbols




Slide 36
Slide 37
   Examining Standard Templates




Slide 38
   Examining Standard Templates
            Font
                                  TEXTONLY.RTP in the
                                  Report Template editor

Object




                    Properties                   Docked
 Docked            for selected                  Property
 Toolbars             object                      Sheet


  Layout


Slide 39
   Examining Standard Templates




                           Just
   Toolbars and          “Grab &
Property Sheet can        Drag”
 also float (i.e. be
    undocked)



Slide 40
   Examining Standard Templates
                         TextReportObject

                                            The Rule Tree
                                            specifies what
                                             data is to be
                                            presented and
                                            in what format

     CadReportObject


                            Label


                Three objects present data and
                       have a Rule Tree
Slide 41
   Examining Standard Templates
           Toggle            Group             Align Center
            Ruler                                                     Undo


Toggle                Zoom                     Align            To Front
 Grid                  Out                     Edges             / Back




     Property
      Sheet         Zoom
                     in              Ungroup           Space

                           Zoom                            Make
  View Snap                             Regroup
                            1:1                          Same Size           Redo
    Points



                      Layout Bar – some have menus
Slide 42
           Creating a Report Template




   From
   Help




Slide 43
   Examining Standard Templates




                                        Click Rules




           TEXTONLY.RPT in the Report
                Template editor
Slide 44
   Examining Standard Templates

 When
                                   Rules exist
   to                               if BOLD
 Report
  Data



 Data
format                                            Rule for
                                                 Dimension
                                                  Location
  Report
Expression   We will talk more about
Language     Rules and the Rule Tree
                   Editor later
Slide 45
           Standard Report Templates
•      Questions:
      1. What happens if I delete a report template that I
         have set as my default for a part program?
           – If the report template is not found, “default.rtp” is used. If it
             is not found, PC-DMIS creates it. It is a TextReportObject
             with no rules.
           – This is similar to Text Mode Dimension Report
      2. What happens if I modify my report template?
           – Whenever you click the Redraw button in the Report
             Window, or when you run the part program, PC-DMIS will
             notice that the report template has been updated and will
             use that updated report template.
           – This is a VERY handy feature!

Slide 46
   Examining Standard Templates
Several text
  objects




TextReportObject
    with rules



                   PPAP.RTP in the Report
                      Template editor
Slide 47
    Examining Standard Templates



                                      Label Layout


CADReportObject
   with rules



                  CADOnly.RTP in the Report
                      Template editor
 Slide 48
   Examining Standard Templates
                                 # of Labels per page
                                   and Layout Style


                                 Leader Lines point to
                                 Measured or Nominal?

                                     2 leader lines?
                                   Feature centroid?
                                Color ball on leader line?


                                       Border?
                                Auto-Zoom CAD image?


           CADonly.RTP / click on Labels

Slide 49
            Layout in Property Sheet
Slide 50
        Standard Label Templates
• 33 Current Standard Label Templates
  • File_Header.lbl




  • Reference_ID.lbl



  • Legacy_Dimension_CAD.lbl




 Slide 51
       Standard Label Templates
• FCF_Label.lbl




• Line1.lbl




Slide 52
       Standard Label Templates
• Line2.lbl




• Line3.lbl




Slide 53
       Standard Label Templates
• Line1, Line2 and Line3 refer to lines or rows in the
  Feature Control Frames Table
• Line2 is the FCF primary dimension
• In some cases, e.g. True Position of a Circle, Line1
  presents the size information
• Line3 is for a secondary tolerance type or a secondary
  dimension




Slide 54
              Label Templates
How to view / edit a label template




Slide 55
             Label Templates
File header template in Label Template Editor




Slide 56
                  Label Templates
Double click in
label to put in
  Edit mode


Click to select
 a single cell

   Right click                         Cell
  same cell to                      expression
  bring up Grid
   Properties
      dialog




 Slide 57
              Label Templates
How to change the File header label bitmap




                                     Click Select and
                                       browse to new
                                      image. Save or
    Templates are installed with    Save As to rename.
     the Read-only attribute set
Slide 58
                   Label Templates
Line1_Size.lbl                          COUNT(LINE1_
                                         FEATNAME)




           Here is the Property Page
           for Row 3. Notice that the    # of times to
                Repeating Group          repeat row.
             checkbox is checked.




Slide 59
Slide 60
           Creating a Report Template
                                            1



                              Open the
                               Report
                              Template
                             Editor for a
                                new
                              Template




Slide 61
           Creating a Report Template


    Report
   Properties




           Portrait or
           Landscape

                   Other Page Size options depend on
 2                 installed printer drivers; such as, A3,
                               A4, A5, B4, B5
Slide 62
       New Item in Report Template
                  Editor




Section Cut
  Profile
New in v4.2

Slide 63
           Creating a Report Template

    Sectio
    nProperti
           es

                     Section Height
                       and Width



  3

Slide 64
           Creating a Report Template




                  Click the Text icon,
                 drop onto the editor.
                 Right mouse or click
                 Property icon to get
  4               the Property Page      Note: always
                                         in Edit mode.
                                         Can‟t put it in
                                          Run mode.
Slide 65
           Creating a Report Template



                     Properties for:
                    •Font
                    •Colors
                    •Alignment
                    •Size
                    •Location
                    •Orientation
                    •Text

  5

Slide 66
           Creating a Report Template
            Add a bitmap




            Modify properties

  6

Slide 67
           Creating a Report Template




  7
                    Add a TextReportObject
Slide 68
           Creating a Report Template

                                   Rules allow
                                     you to
                                   define how
                                    your data
                                     will be
                                   presented



                                        Click
              TextReportObject

  8
Slide 69
           Creating a Report Template


                          1                        3
                   Click to
                specify when
                 rules apply   Specify the rules




            2




Slide 70
            Creating a Report Template
   Set the
  condition
 when rule will                 What additional text
    apply                       or text expression
                                should be included
                                  in the report?




   What label                     After you select a
template do you                     label template,
  want to use?                    you can change
                                   the table format


 Slide 71
           Exporting / Importing Rules




Slide 72
           Copy / Paste Rules

                      Does not use
                      System Copy
                     buffer / e.g. can‟t
                         paste into
                         NotePad




Slide 73
           Creating a Report Template
•      User Assigned Properties:
      – The ability to create a template now but have the
        user specify supplemental data later
                                 But When?
           •   Prompt when the user selects template
               – In the Template Selection Dialog, when the user selects
                  Open, the user is prompted for this information
               – Select this for data specific to a part type but does not
                  change with each part that is measured
           •   Prompt when executing report
               – Each time the part program is run, the user is prompted
                  for this data
               – Select this for data specific to the individual part; such
                  as, some type of part identification
               – Select this for ancillary information about the run; such
                  as, operator name, CMM ID, etc.
Slide 74
           Creating a Report Template




                      Click
                    checkbox.
                     Specify
                    when user
                      will be
                    prompted.


Slide 75
           Creating a Report Template
Note prompt
                                    Prompted once
                                     when template
                                    selected, unless
                                    user chooses to
                                     clear template
                                    associated data



               Prompted each time
                  the report is
                    executed


Slide 76
           Creating a Report Template
                                      Prompt at
                                      execution


Entered in Property Sheet




   Operator enters name at
     [Put Name Here].

                             Name appears in report in
Slide 77                          Text Object.
           Creating a Report Template
      Can I the Editor.
      Yes, inmodify the
      order of the User
      No, Assigned
          at execution.
       Properties List?




                                Note: I‟m in the
                                Report Template
                                 Editor with the
                                template open.
Slide 78
              Creating a Report Template
                                           Move down

                                 Delete
 2 lists to modify:
1. When template
    selected
2. When report executed

                                           Move up




   Slide 79
           Creating a Report Template
   • Sections
     • Ability to divide a report into sub-reports
     • Each sub-report acts as if it has its own
       separate report template
     • Sections print out in the order that they are
       defined
     • Data is made available to all sections based
       on two properties:
             • Command Set
             • Maximum Number of Pages
           • Rules determine if section displays the data
Slide 80
           Creating a Report Template
           • Sections
             • Possible Report Outline:
                • Cover sheet
                • Title page
                • Summary Report
                • Detailed data section




Slide 81
            Creating a Report Template
                                    Section
                                   properties


                 Properties that control
                    data selection
Right click to
add a section                                          Section
                                                        name




                                           Multi-section
                                             report
 Slide 82
             New Section Properties



               All Commands - The setting will process the entire command set in
               the current section (Page tab). This is the default value.

               Continue from Previous Section - This setting continues to
              process the command set from Pages that will use the design of the
        Defines the Maximum Number of the previous section, continuing where the current
              last section stop processing.
        Page tab in the report.
                Same as Previous Section - This setting will cause the section
                (Page if you set this value to 2, but you have easily enough
        For example,tab) to take exactly the same command set as the previous dimensions in
                section. The to fill five pages, subsequent sections with this commands once
        your part program head section and allthe section will not process setting
        the number of pages for that section reaches the specified maximum of two
                will form a mini-group. All subsequent sections in the mini group will
        pages. create one page with the head page.will need a newly created section (Page
                The current process command
        tab) in order to display additional information.

         The default value of 0 means there is no maximum and so all pages will be
Slide 83 displayed.
  Example 1 of "Command Set" &
   "Maximum Number of Pages"
  In the following examples suppose that your report template has four
      sections named A, B, C, and D and that each contains a
      TextReportObject. Additionally, suppose that your part program
      has enough dimensions to display three pages of dimensions per
      section.
             Section            Max. # of Pages   Command Set
             A                         0          All Commands
             B                         0          All Commands
             C                         0          All Commands
             D                         0          All Commands


           PC-DMIS would display the pages in the final report like this:

                       A1,A2,A3,B1,B2,B3,C1,C2,C3,D1,D2,D3
Slide 84
  Example 2 of "Command Set" &
   "Maximum Number of Pages"
  In the following examples suppose that your report template has four
      sections named A, B, C, and D and that each contains a
      TextReportObject. Additionally, suppose that your part program
      has enough dimensions to display three pages of dimensions per
      section.
             Section            Max. # of Pages   Command Set
             A                         1          All Commands
             B                         0          All Commands
             C                         0          All Commands
             D                         1          All Commands


           PC-DMIS would display the pages in the final report like this:

                            A1,B1,B2,B3,C1,C3,C3,D1
Slide 85
  Example 3 of "Command Set" &
   "Maximum Number of Pages"
  In the following examples suppose that your report template has four
      sections named A, B, C, and D and that each contains a
      TextReportObject. Additionally, suppose that your part program
      has enough dimensions to display three pages of dimensions per
      section.
             Section            Max. # of Pages   Command Set
             A                         1          All Commands
             B                         0          All Commands
             C                         0          Same as Previous
                                                  Section
             D                         1          All Commands

           PC-DMIS would display the pages in the final report like this:

                            A1,B1,C1,B2,C2,B3,C3,D1
Slide 86
  Example 4 of "Command Set" &
   "Maximum Number of Pages"
  In the following examples suppose that your report template has four
      sections named A, B, C, and D and that each contains a
      TextReportObject. Additionally, suppose that your part program
      has enough dimensions to display three pages of dimensions per
      section.
             Section            Max. # of Pages   Command Set
             A                         1          All Commands
             B                         0          Continue From
                                                  Previous Section
             C                         0          Same as
                                                  Previous Section
             D                         1          All Commands

           PC-DMIS would display the pages in the final report like this:

Slide 87                       A1,B2,C2,B3,C3,D1
Slide 88
                    Label Templates
Object Toolbar
• Similar to Report Template Editor
  Object Toolbar, except:
    –      No CadReportObject
    –      No Label Object
    –      No TextReportObject
                                        CommandTextObject
    –      No Leaderline

                                           ChartObject
• But it does include:
    –      CommandTextObject
    –      AnalysisObject
    –      ChartObject CADImageObject
                                          AnalysisObject
    –      CADImageObject
Slide 89
                   Label Templates




           There are about 100 pixels
           per inch. Therefore, a width
                                          Resize
            of 200 is about 2 inches.
             This is also true in the
             Report Template Editor.


Slide 90
           Label Templates
Example     Text Object 1 with   CommandTextObject
 Label      ShadowStyle
            property




                                      Text Object 2




Slide 91
               Label Templates




Grid Control

  Another          Set size, # of
  Example       columns and rows,
   Label           table format
 Slide 92
           Creating a Report Template
       Legacy_Dimension.lbl




       Legacy_Dimension.lbl in Edit Mode




              Formulas are used to
             define what data is to be
              displayed in each cell

Slide 93
           Creating a Report Template
Could be multiple cells,
 entire row or entire
       column


                             You put the formula in the
                               Cell Expression area.
Note the Property Page
 for this cell at Row 1,
       Column 2.

                                      There are
                                        many
                                      properties
                                     here to allow
                                     you to tailor
                                       each cell



Slide 94
              Label Templates


Legacy_Dimension.lbl
  is a Grid Control




             Merge multiple cells as one
Slide 95
           Creating a Report Template



A cell can contain text
    (including an
   expression), an
 image or an ActiveX
        control.




Slide 96
           Label Templates




                         This equation
                     determines how many
                      times to repeat this
                              row




Slide 97
                    Label Templates
                Rule for Dimension Location is:
             USE TEMPLATE "legacy_dimension.lbl"


           3 Rows                 Point




      4 Rows                          Sphere




                                                 Same
                               Cone              Label
      5 Rows
                                               Template


Slide 98
           Label Templates




Slide 99
Slide
100
        Rule Tree Editor

            Main categories of
                  Rules




Slide
101
                   Rule Tree Editor

Specify to what
 the label shall
   apply. Here                          Click
  Features are                         Add to
  highlighted.                        add rule




 Slide
 102
         Rule uses Label Template
                                  Already filled in
                                 for you. This rule
                                   applies to all
                                      Features



   Check here




                                            … or browse
Enter Label Template file name              For the label
                                             template
 Slide
 103
        Rule Uses Text Expression




Check here


                                          Message goes to the report for
                                                 each feature

IF Command Type = Features Then DISPLAY TEXT EXPRESSION “Message for features"


Slide
104
        Create a Report Template
                      Conditionally
                       output text
                       expression




                                 If the
                      MINOR_WORD_TOGGLE
                      of the referenced feature
                      is “CIRCLE” then display
                         its BF_MATH_TYPE

Slide
105
        Create a Report Template
                    Rule
                  added to
                  the Rule
                    Tree




Slide
106
        What if Rules Conflict?
  All apply?
                                    Rule Here
   None?
  Which one?
                                       Rule Here



                                             Child
                                           overrule
                                           s Parent
                                               !
                  What if there
                 was a rule here?



Slide
107
               Rules about Rules
        Rule Tree Rules
          • Multiple rules per command
          • Can be applied unconditionally or conditionally
          • A rule can put out text directly or provide
            information based on the format of a label
            template
          • Can use conditional expressions using the
            Reporting Expression Language
          • Can use a text expression using the Reporting
            Expression Language
          • You can specify an initial grid format (label
            template)
          • You can specify order that the rules are applied
          • Parent node rule applies to a child node only if
Slide
            the child node has no rule
108
Slide
109
       Report Expression Language
        • See the Help File
           • Table of Contents
              • PC-DMIS 4 Core Help File
                • Reporting Measurement Results
                   • Creating Custom Reports
                   •    About Report Expressions
        • Edit Window pop-up can provide data type
          name used in report expressions
        • Can also be used in properties


Slide 110
Typical Report Language Expressions
=ID - This displays the feature or dimension ID.
=DIM_MEASURED:N - This displays a dimension's measured value.
                                    What is “N”?
=UNIT_TYPE - This displays the unit of measurement for the feature or
   dimension.
=LOADSTR - This loads a string from a table of stored strings within PC-
   DMIS.
                                             The “N”
=AXIS:N - This displays the current axis name (XAXIS, YAXIS, or ZAXIS).
=NOMINAL:N - This displays the nominal data for a feature.
                                            expression
=F_PLUS_TOL:N - This displays a feature's plus tolerance.
                                          evaluates to the
=F_MINUS_TOL:N - This displays a feature's minus tolerance.
                                          current iteration
=DIM_OUTTOL:N - This displays the out of tolerance value for a
                                        value of a repeating
   dimension.
                                          row or column.
=DIM_MAX:N - This displays the maximum possible in-tolerance upper
   value for a dimension.
=DIM_MIN:N - This displays the minimum possible in-tolerance lower
   value for a dimension.

Slide 111
       Report Expression Language
       Legacy_Dimension.lbl




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



            =LOADSTR(-572)   [loads string from resources]



             =GDT_SYMBOL

Slide 112
       Report Expression Language
    TOL
            =TOL(NOMINAL:N,DIM_OUTTOL:N, 0.0, 0.0)

                                       From Help




      If expression 2 is between expression 3 and
     expression 4, then set the string in expression
     1 to the marked color; otherwise, set it to the
                       error color


Slide 113
       Report Expression Language
       Legacy_Dimension.lbl




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


            =ID + IF(LEN(REF_ID:1) > 0, " - " + REF_ID:1, "
            ") + IF(LEN(REF_ID:2)>0 AND REF_ID:1 <>
            REF_ID:2, " " + LOADSTR(-247) + " " +
            REF_ID:2, " ")

Slide 114
             =UNIT_TYPE
       Report Expression Language
        There are four areas where you can insert report
          expressions:

        1) The Rules Tree Editor in the Conditional Expression and
           Text Expression boxes.

        2) The GridControlObject in its grid cells.

        3) The GridControlObject in the Repeat Expression box in the
           Row tab for repeat expressions.

        4) Property Sheet Values on edit fields or combo boxes that take
           text values.




Slide 115
       Report Expression Language
        From Help:




Slide 116
           Report Expression Language
Edit Rule / Conditional Expression
               TOGGLEVALUE(TEXT_ANALYSIS)>0
Edit Rule / Text Expression
                     ***** Dimension is Out-Of-Tolerance *****
GridControlObject / Repeat Expression
                     =COUNT(AXIS)
Property Sheet / Properties with text values
               =REF_ID
               =REVISION_NUMBER
               =PART_NAME
               =SYSTEMTIME("HH:mm")
GridControlObject / Cell
                     =RGB("Blue",0,0,255) + RGB(" Black",0,0,0) + RGB(" Yellow",255,255,0)
 Blue Black Yellow
                     =TOL(NOMINAL:N,DIM_OUTTOL:N, 0.0, 0.0)




Slide 117
                  ActiveX Controls
        • Can be added:
           • Directly to a Label Template
           • To a cell of a Grid Control
           • Directly to a Report Template
        • 6 ActiveX controls ship with PC-DMIS
        • ActiveX controls have 2 sets of properties
           • Properties common to all ActiveX controls
               • e.g. This.Left
            • Properties unique to a control (.X)
               • e.g. This.X.EventReportData


Slide 118
                   ActiveX Controls
            1. Best Fit Analysis
                                     Red dots –
                                     before best
                                         fit




                         Used for Alignments




              Green bar –                     #‟s 1 – 4 represents 4
              after best fit                 features used in best fit

Slide 119
             ActiveX Controls
        2. Dimension Analysis




Slide
120
                ActiveX Controls
        3. Feature Analysis




        4. Dimension Report Linear




Slide
121
            ActiveX Controls

 5. Dimension Report Linear2




  6. Dimension Report Radial




Slide
122
         Uses for ActiveX Controls
 • Best Fit Analysis
        • BEST_FIT_ANALYSIS.LBL
           •   Used in Best Fit 2D & 3D Alignment rule in TextOnly.RTP
 • Feature Analysis
        • FEATURE.LBL
           •   Used in Features rule in TextOnly.RTP
 • Dimension Report Linear
        • LEGACY_DIMENSION.LBL
           •   Used in Dimension Location rule in TextOnly.RTP
 • Dimension Report Radial
        • LEGACY_DIMENSION_TRUE_POSITION.LBL
           •   Used in Dimension True Position rule in TextOnly.RTP




Slide
123
             Uses for ActiveX Controls
 • Dimension Analysis
         •   Not used directly in a template
         •   Used by GraphicalAnalysis
         •   Does not have exposed methods
         •   It is in the list when you insert an ActiveX control into a
             template
 • Dimension Report Linear2
         • Not currently used by any standard template
         • Could be used in place of Dimension Report Linear in
           Legacy_Dimension.lbl
         • Changes to use Dimension Report Linear2 in
           Legacy_Dimension.lbl
        Set EventReportData to This.X.EventReportData ReportData
        Set Deviation to =DIM_DEVIATION:N
        Set NegativeTolerance to =F_MINUS_TOL:N
        Set PositiveTolerance to =F_PLUS_TOL:N
Slide
124
        Event Report Data




          Best_Fit_Analysis.lbl
Slide
125
            Automation




        1
                                From Help




            2   3   4   5   6

Slide
126
                    Automation
Dim App As PCDLRN.Application
Set App = CreateObject("PCDLRN.Application")   1
Dim Reports As PCDLRN.ReportTemplates
Set Reports = App.ReportTemplates              2
Dim Report As PCDLRN.ReportTemplate
Set Report = Reports.Add                       3
Dim Sections As PCDLRN.Sections
Set Sections = Report.Sections                 4
Dim Section As PCDLRN.Section
                                               5
Set Section = Sections.Item(1)
Dim ReportObjects As PCDLRN.ReportControls
Set ReportObjects = Section.ReportControls     6




Slide
127
Slide
128
                  Custom Reports
        • Unlike templates, Custom Reports are specific to a
          part program
        • Custom Reports are stored in the part program
        • Custom Reports are very similar to Hyperview
          Reports
        • Tools exist to convert Hyperview Reports to
          Custom Reports
        • Custom Reports are created via “drag „n drop” from
          the Edit Window (Summary Mode)
        • You can use a Custom Report from another part
          program as a “starting point”



Slide
129
        Editing a Custom Report




                       In this part program


                       In another part program
Slide
130
        Creating a Custom Report




                        Always stored in this
                           part program


Slide
131
         Creating a Custom Report
Report Template
  Object Bar




Label Template
  Object Bar




 Slide
 132
        Creating a Custom Report

                            Each Page has its
                             TEXTONLY.RUL
                              own resources
                              from Rule Tree




Slide
133
        Creating a Custom Report



                             Uses
                        File_Header.lbl
                        as specified in
                         the Rule Tree




                Drag „n Drop
Slide
134
        Creating a Custom Report




                        Uses
                    Feature.lbl as
                   specified in the
                      Rule Tree




Slide
135
        Creating a Custom Report




                                  Uses
                       legacy_Dimension.lbl as
                       specified in the Rule Tree
Slide
136
        Creating a Custom Report




          To change feature or
          dimension, drag onto
Slide
              existing label
137
        Creating a Custom Report




          Alignment tool makes it easier to align two objects
Slide
138
        Creating a Custom Report




                       Using a Label Object
Slide
139
        Creating a Custom Report




Slide
140
          Creating a Custom Report




          Just like Report
        Templates, right click

Slide
141
        Creating a Custom Report




Slide
142
        Creating a Custom Report




                  Note
                equations




                   Aligned grid.
               Added text to two cells.
Slide
143
        Creating a Custom Report




                        CADReportObject
                       also has a Rule Tree




Slide
144
         Creating a Custom Report
                                                       International
                                                        NO sign
                                                         says that
                                                        this is not
                                                          allowed




        What about an illegal move like dragging a feature onto a
                              Text Object?
Slide
145
        Creating a Custom Report
                                                       Empty list
                                                       shows no
                                                        rules for
                                                          this
                                                       command




    What about commands for which there are no rules?

        A File / Open dialog allows you to select Label Template
Slide
146
             Rules About Rules
        • Like Templates, Custom Reports use a
          Rule Tree to determine what Label
          Templates should be used in your report.
        • A default set of rules is automatically
          included, so you only need to change the
          default rules if you want your data
          formatted differently.
        • A blank custom report defaults to
          TextOnly.RUL from resources
        • CADReportObject uses CAD.RUL from
          resources
        • Label Object is only a container and does
          not have a rule tree. You will be prompted
          for a Label Template
Slide
147
        Extra Drag „n Drop Features
  While performing the drop of a command (such as a
    feature or dimension), if you hold down the SHIFT
    or CTRL keys and you release the button, PC-
    DMIS does the following:
        • SHIFT key - PC-DMIS will insert a
          CommandTextObject for that item.
        • CTRL key - PC-DMIS will display an Open
          dialog box allowing you to select a different
          label template for the item.




Slide
148
        Questions?




Slide
149

				
DOCUMENT INFO
Shared By:
Categories:
Stats:
views:1287
posted:10/13/2010
language:English
pages:149