Upload
asher-norris
View
261
Download
12
Embed Size (px)
Citation preview
Slide 1
pc-dmis version 4.2
Reporting Training
Slide 2
Slide 3
Report Window
Report Report Window is Window is
now now separate separate from Edit from Edit WindowWindow
Slide 4
Report Window
Starting with PC-DMIS version 4 the Report and Edit Windows are separate.
and
Standard windows
controls to minimize, restore
and close.
Report Window Toolbar
Slide 5
New Menu for ReportingVersion 3.7 Version 4.2
Slide 6
New Menu for ReportingVersion 3.7 Version 4.2
Access to Template and Custom Report Editors
Slide 7
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 8
Edit Window Layout DialogVersion 3.7 Version 4.2
Reflects that Edit Window and Report Window have been
separated
Hyper-Reports can no longer
be created starting with
v4!
Now done in the
Report Window
Slide 9
Slide 10
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 11
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 12
Standard Reports
1-Touch Reporting
TEXTONLY
Feature
Dimension
Header
Also the default report format
Slide 13
Standard Reports
1-Touch Reporting
TEXTANDCAD
CAD
Text
Note that labels on CAD and Text
match# of pages is
determined by format and amount
of data
Slide 14
Standard Reports
1-Touch Reporting
CADONLY
All 5 dimensions shown on one page
Slide 15
Standard Reports
1-Touch Reporting
GRAPHICALANALYSIS
Graphs for Circularity, Cylindricity, Flatness
and Straightness
Graphs for Circularity, Cylindricity, Flatness
and Straightness
Slide 16
Standard Reports
1- Touch ReportingCADONLY_LANDSCAPE
CADONLY report in Landscape instead
of Portrait orientation
Slide 17
Standard Reports
1-Touch Reporting
PPAP
Quickly determine acceptance or rejection
Slide 18
Standard Reports
What is new is their
effect on the Report.
ViewSets are not new
Slide 19
Standard Reports
ViewSets allow different CAD views in the Report
New page and new CAD view
Slide 20
Status Window
Status Window shows report for current
command
Also works in Command
Mode
Slide 21
Slide 22
Ways to Customize a ReportRight 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 23
Ways to Customize a Report6. 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 24
Ways to Customize a Report11.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 25
Clear Template Associated Data– Removes all report customizing used in the current
part program with the current selected report template
Customizing a Generated Report
Slide 26
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 27
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 28
Slide 29
Report WindowPC-DMIS includes
template name in the Report Window Title Bar
Slide 30
Report Window Toolbar
Redraw the Report
Custom Report
Selection Dialog
Print the Report
Set Report as Default
Save Layout
Full Report Mode
Last Execution Report Mode
Report Magnification
Saved Report Templates including 6 standard
report templates
Template Selection
Dialog
Saved Custom Reports
Slide 31
Template Selection Dialog
When you click on the Template
Selection Dialog icon you get a list
of Report Templates
Slide 32
Template Selection Dialog
Remove from List
Click to add your report template to this list Close Dialog
Slide 33
Template Selection Dialog
Image preview directly from template unless
specified by user Click on template then click Open to use this template
in the Report Window
Slide 34
Change Previews
Can change preview for
report and label templates
Slide 35
Change Previews
Any .bmp or .jpg file can be used. Make
proportions about 1:1
Slide 36
New PC-DMIS Font
• New font• Loaded with PC-DMIS• Provides GD&T symbols
Slide 37
Slide 38
Examining Standard Templates
TextOnly
Slide 39
Examining Standard Templates
TEXTONLY.RTP in the Report Template editor
Properties for selected
object
Font
Object
Layout
Docked Toolbars
Docked Property
Sheet
Slide 40
Examining Standard Templates
Toolbars and Property Sheet
can also float (i.e. be undocked)
Just “Grab & Drag”
Slide 41
Examining Standard TemplatesTextReportObject
Label
CadReportObject
Three objects present data and have a Rule Tree
The Rule Tree specifies what data is to be
presented and in what format
Slide 42
Examining Standard Templates
Property Sheet
View Snap Points
Zoom in
Toggle Grid
Toggle Ruler
Zoom Out
Ungroup
Align Edges
Zoom 1:1
Group
Regroup
Align Center
Space
Make Same Size
To Front / Back
Undo
Redo
Layout Bar – some have menus
Slide 43
Creating a Report Template
From Help
Slide 44
Examining Standard Templates
TEXTONLY.RPT in the Report Template editor
Click Rules
Slide 45
Examining Standard Templates
Rules exist if BOLD
Rule for Dimension Location
When to
Report Data
Data format
Report Expression Language
We will talk more about Rules and the Rule Tree
Editor later
Slide 46
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 rulesno rules.
– This is similar to Text Mode Dimension ReportText 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 47
Examining Standard Templates
PPAP.RTP in the Report Template editor
Several text objects
TextReportObject with rules
Slide 48
Examining Standard Templates
CADOnly.RTP in the Report Template editor
CADReportObject with rules
Label Layout
Slide 49
Examining Standard Templates# of Labels per page
and Layout Style
Leader Lines point to Measured or Nominal?
CADonly.RTP / click on Labels
Layout in Property Sheet
Border?Auto-Zoom CAD image?
2 leader lines?Feature centroid?
Color ball on leader line?
Slide 50
Slide 51
Standard Label Templates
• File_Header.lbl
• Reference_ID.lbl
• Legacy_Dimension_CAD.lbl
• 33 Current Standard Label Templates
Slide 52
Standard Label Templates
• FCF_Label.lbl
• Line1.lbl
Slide 53
Standard Label Templates
• Line2.lbl
• Line3.lbl
Slide 54
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 55
Label TemplatesHow to view / edit a label template
Slide 56
Label TemplatesFile header template in Label Template Editor
Slide 57
Label TemplatesDouble click in label to put in
Edit mode
Click to select a single cell
Right click same cell to bring up Grid
Properties dialog
Cell expression
Cell properties
Slide 58
Label TemplatesHow to change the File header label bitmap
Click Select and browse to new image. Save or
Save As to rename.
Change bitmap
Templates are installed with the Read-only attribute setTemplates are installed with the Read-only attribute set
Slide 59
Label Templates
Here is the Property Page for Row 3. Notice that the
Repeating Group checkbox is checked.
Line1_Size.lbl
# of times to repeat row.
COUNT(LINE1_FEATNAME)
Slide 60
Slide 61
Creating a Report Template
Open the Report
Template Editor for a
new Template
1
Slide 62
Creating a Report Template
Portrait or Landscape
Other Page Size options depend on installed printer drivers; such as, A3,
A4, A5, B4, B5
Report Properties
2
Slide 63
New Item in Report Template Editor
Section Cut Profile
New in v4.2
Slide 64
Creating a Report Template
SectionProperti
es
Section Height and Width
3
Slide 65
Creating a Report Template
Click the Text icon, drop onto the editor. Right mouse or click Property icon to get the Property Page
Note: always in Edit mode. Can’t put it in Run mode.
Note: always in Edit mode. Can’t put it in Run mode.
4
Slide 66
Creating a Report Template
5
Properties for:•Font•Colors•Alignment•Size•Location•Orientation•Text
Slide 67
Creating a Report TemplateAdd a bitmap
Modify properties
6
Slide 68
Creating a Report Template
Note correlation
of “Show” items
7Add a TextReportObject
Slide 69
Creating a Report Template
TextReportObject
Rules allow you to
define how your data
will be presented
Click
8
Slide 70
Creating a Report Template
Click to specify when rules apply Specify the rules
1
2
3
Slide 71
Creating a Report Template
Set the condition
when rule will apply
What label template do you
want to use?
What additional text or text expression should be included
in the report?
After you select a label template,
you can change the table format
Slide 72
Exporting / Importing Rules
Slide 73
Copy / Paste Rules
Does not use System Copy
buffer / e.g. can’t paste into NotePad
Slide 74
Creating a Report Template• User Assigned Properties:
– The ability to create a template now but have the useruser specify supplemental data laterlater
But When?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 75
Creating a Report Template
Click checkbox.
Specify when user
will be prompted.
Slide 76
Creating a Report Template
Prompted once when template
selected, unless user chooses to clear template
associated data
Prompted each time the report is
executed
Note prompt
Slide 77
Creating a Report Template
Operator enters name at [Put Name Here].
Entered in Property Sheet
Name appears in report in Text Object.
Prompt at execution
Slide 78
Creating a Report Template
Can I modify the order of the User
Assigned Properties List?
Can I modify the order of the User
Assigned Properties List?
Note: I’m in the Report Template
Editor with the template open.
Yes, in the Editor.
No, at execution.
Yes, in the Editor.
No, at execution.
Slide 79
Creating a Report TemplateMove down
Move up
Delete
2 lists to modify:1. When template
selected2. When report executed
Slide 80
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 81
Creating a Report Template• Sections
• Possible Report Outline:• Cover sheet• Title page• Summary Report• Detailed data section
Slide 82
Creating a Report Template
Right click to add a section
Section properties
Multi-section report
Properties that control data selection
Section name
Slide 83
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 the previous section, continuing where the last section stop processing.
Same as Previous Section - This setting will cause the section (Page tab) to take exactly the same command set as the previous section. The head section and all subsequent sections with this setting will form a mini-group. All subsequent sections in the mini group will create one page with the head page.
Defines the Maximum Number of Pages that will use the design of the current Page tab in the report.
For example, if you set this value to 2, but you have easily enough dimensions in your part program to fill five pages, the section will not process commands once the number of pages for that section reaches the specified maximum of two pages. The current process command will need a newly created section (Page tab) in order to display additional information.
The default value of 0 means there is no maximum and so all pages will be displayed.
Slide 84
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.
PC-DMIS would display the pages in the final report like this:
A1,A2,A3,B1,B2,B3,C1,C2,C3,D1,D2,D3
Section Max. # of Pages Command Set
A 0 All Commands
B 0 All Commands
C 0 All Commands
D 0 All Commands
Slide 85
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.
PC-DMIS would display the pages in the final report like this:
A1,B1,B2,B3,C1,C3,C3,D1
Section Max. # of Pages Command Set
A 1 All Commands
B 0 All Commands
C 0 All Commands
D 1 All Commands
Slide 86
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.
PC-DMIS would display the pages in the final report like this:
A1,B1,C1,B2,C2,B3,C3,D1
Section Max. # of Pages Command Set
A 1 All Commands
B 0 All Commands
C 0 Same as Previous Section
D 1 All Commands
Slide 87
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.
PC-DMIS would display the pages in the final report like this:
A1,B2,C2,B3,C3,D1
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
Slide 88
Slide 89
Label Templates
Object Toolbar• Similar to Report Template Editor
Object Toolbar, except:– No CadReportObject– No Label Object– No TextReportObject– No Leaderline
• But it does include:– CommandTextObject– AnalysisObject– ChartObject– CADImageObject
CommandTextObject
AnalysisObject
ChartObject
CADImageObject
Slide 90
Label Templates
ResizeThere are about 100 pixels per inch. Therefore, a width
of 200 is about 2 inches. This is also true in the
Report Template Editor.
Slide 91
Label TemplatesExample
Label CommandTextObjectText Object 1 with ShadowStyle property
Text Object 2
Slide 92
Label Templates
Grid Control
Another Example
Label
Set size, # of columns and rows,
table format
Slide 93
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 94
Creating a Report Template
Note the Property Page for this cell at Row 1,
Column 2.
There are many
properties here to allow you to tailor
each cell
There are many
properties here to allow you to tailor
each cell
Could be multiple cells, entire row or entire
column
You put the formula in the Cell Expression area.
Slide 95
Label Templates
Merge multiple cells as one
Legacy_Dimension.lbl is a Grid Control
Slide 96
Creating a Report Template
A cell can contain text (including an expression), an
image or an ActiveX control.
Slide 97
This equation determines how many
times to repeat this row
Label Templates
Slide 98
Label Templates
Rule for Dimension Location is:USE TEMPLATE "legacy_dimension.lbl"
Rule for Dimension Location is:USE TEMPLATE "legacy_dimension.lbl"
Point
Sphere
Cone
3 Rows
4 Rows
5 Rows
Same Label
Template
Slide 99
Label Templates
List based on Table selected
Slide 100
Slide 101
Rule Tree Editor
Main categories of Rules
Slide 102
Rule Tree Editor
Click Add to
add rule
Specify to what the label shall apply. Here
Features are highlighted.
Slide 103
Rule uses Label Template
Check here
Enter Label Template file name
Already filled in for you. This rule
applies to all Features
Already filled in for you. This rule
applies to all Features
… or browseFor the label
template
Slide 104
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 105
Create a Report Template
If the MINOR_WORD_TOGGLE of the referenced feature is “CIRCLE” then display
its BF_MATH_TYPE
Conditionally output text expression
Conditionally output text expression
Slide 106
Create a Report Template
Rule added to the Rule
Tree
Slide 107
Child overrules Parent !
What if Rules Conflict?
Rule Here
Rule Here
All apply? None?
Which one?
What if there was a rule here?
Slide 108
Rules about RulesRule 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
the child node has no rule
Slide 109
Slide 110
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 111
Typical Report Language Expressions=ID - This displays the feature or dimension ID.=DIM_MEASURED:N - This displays a dimension's measured value.=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.=AXIS:N - This displays the current axis name (XAXIS, YAXIS, or ZAXIS).=NOMINAL:N - This displays the nominal data for a feature.=F_PLUS_TOL:N - This displays a feature's plus tolerance.=F_MINUS_TOL:N - This displays a feature's minus tolerance.=DIM_OUTTOL:N - This displays the out of tolerance value for a
dimension.=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.
What is “N”?
The “N” expression evaluates
to the current iteration value of a repeating row or
column.
Slide 112
Report Expression Language
Legacy_Dimension.lbl
=GDT_SYMBOL
=LOADSTR(-572) [loads string from resources]
=TOL(AXIS:N,DIM_OUTTOL:N, 0.0, 0.0)
Slide 113
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 colormarked color; otherwise, set it to the error colorerror color
Slide 114
Report Expression Language
Legacy_Dimension.lbl
=UNIT_TYPE
=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, " ")
=TOL(DIM_MEASURED:N,DIM_OUTTOL:N,0.0,0.0)
Slide 115
Report Expression LanguageThere 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 116
Report Expression LanguageFrom Help:
Slide 117
Report Expression Language
Edit Rule / Conditional ExpressionTOGGLEVALUE(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)
=TOL(NOMINAL:N,DIM_OUTTOL:N, 0.0, 0.0)Blue Black Yellow
Slide 118
• 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
ActiveX Controls
Slide 119
ActiveX Controls1. Best Fit Analysis
Red dots – before best
fit
Green bar – after best fit
#’s 1 – 4 represents 4 features used in best fit
Used for AlignmentsUsed for Alignments
Slide 120
ActiveX Controls2. Dimension Analysis
Slide 121
3. Feature Analysis
4. Dimension Report Linear
ActiveX Controls
Slide 122
ActiveX Controls
5. Dimension Report Linear2
6. Dimension Report Radial
Slide 123
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 124
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.lblSet EventReportData to This.X.EventReportData ReportData Set Deviation to =DIM_DEVIATION:N Set NegativeTolerance to =F_MINUS_TOL:NSet PositiveTolerance to =F_PLUS_TOL:N
Slide 125
Event Report Data
Best_Fit_Analysis.lbl
Slide 126
Automation
From Help1
2 3 4 5 6
Slide 127
AutomationDim App As PCDLRN.ApplicationSet App = CreateObject("PCDLRN.Application")Dim Reports As PCDLRN.ReportTemplatesSet Reports = App.ReportTemplatesDim Report As PCDLRN.ReportTemplateSet Report = Reports.AddDim Sections As PCDLRN.SectionsSet Sections = Report.SectionsDim Section As PCDLRN.SectionSet Section = Sections.Item(1)Dim ReportObjects As PCDLRN.ReportControlsSet ReportObjects = Section.ReportControls
1
2
3
4
5
6
Slide 128
Slide 129
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 130
Editing a Custom Report
In another part programIn another part program
In this part programIn this part program
Slide 131
Creating a Custom Report
Always stored in this part program
Always stored in this part program
Slide 132
Creating a Custom Report
Label Template Object Bar
Report Template Object Bar
Slide 133
Creating a Custom Report
Each Page has its own Rule Tree
TEXTONLY.RUL from resources
Slide 134
Creating a Custom Report
Uses File_Header.lbl as specified in the Rule Tree
Drag ‘n Drop
Slide 135
Creating a Custom Report
Uses Feature.lbl as
specified in the Rule Tree
Uses Feature.lbl as
specified in the Rule Tree
Slide 136
Creating a Custom Report
Uses legacy_Dimension.lbl as specified in the Rule Tree
Slide 137
Creating a Custom Report
To change feature or dimension, drag onto
existing label
Slide 138
Creating a Custom Report
Alignment tool makes it easier to align two objects
Slide 139
Creating a Custom Report
Using a Label Object
Slide 140
Creating a Custom Report
Slide 141
Creating a Custom Report
Just like Report Templates, right click
Slide 142
Creating a Custom Report
Slide 143
Creating a Custom Report
Aligned grid.Added text to two cells.
Note equations
Slide 144
Creating a Custom Report
CADReportObject also has a Rule
Tree
Slide 145
Creating a Custom Report
What about an illegal move like dragging a feature onto a Text Object?
What about an illegal move like dragging a feature onto a Text Object?
International
NO sign says that this is not allowed
International
NO sign says that this is not allowed
Slide 146
Creating a Custom Report
What about commands for which there are no rules?What about commands for which there are no rules?
A File / Open dialog allows you to select Label Template
A File / Open dialog allows you to select Label Template
Empty list shows no rules for
this command
Empty list shows no rules for
this command
Slide 147
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 148
Extra Drag ‘n Drop FeaturesWhile 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 149
Questions?