Hexagon Pc-Dmis 07 - Editing A Measurement Routine
Hexagon Pc-Dmis 07 - Editing A Measurement Routine
Undo ........................................................................................................................ 2
Redo ........................................................................................................................ 2
Cut ........................................................................................................................... 3
Copy......................................................................................................................... 3
Paste ........................................................................................................................ 4
Delete....................................................................................................................... 4
Pattern ..................................................................................................................... 4
Find .......................................................................................................................... 8
Replace .................................................................................................................. 12
i
Table of Contents
Using the FindNoms Override Dialog Box from the Edit Window: .......................... 25
Mark ....................................................................................................................... 25
Parent Mode........................................................................................................... 27
Using Breakpoints...................................................................................................... 34
Remove Defaults.................................................................................................... 36
Using Bookmarks....................................................................................................... 38
Next Bookmark....................................................................................................... 38
ii
Table of Contents
iii
Editing a Measurement
Routine
Editing a Measurement Routine:
Introduction
PC-DMIS's main purposes are to allow you to create, edit, and execute measurement
routines with ease. This chapter discusses using the Edit menu (with other menu
options) to edit your measurement routines. While the Edit menu works with the
commands that appear in the Edit window, a discussion of the Edit window itself is
beyond the scope of this chapter. For an in-depth look at the Edit window see, the
"Using the Edit window" chapter.
This chapter covers these topics:
• Using Standard Edit Commands
• Editing Patterns of Features
• Finding and Replacing Text
• Editing Data Fields
• Jumping to Specified Line Numbers
• Jumping to and from Referenced Commands
• Overriding Guessed Features
• Overriding Found Nominals
• Marking Commands for Execution
• Creating and Executing Marked Sets
• Using Bookmarks
• Using Breakpoints
• Changing Fonts and Colors
• Editing External Objects
• Protecting Measurement Routines from Edits
• Updating Nominals from CAD
• Resetting Measured Values to Nominals
1
Editing a Measurement Routine
Undo
The Edit | Undo menu option removes the last change you made to the Edit window.
You can continue to select the Undo option to remove multiple changes to the Edit
window.
Be aware that switching to a different Edit window mode, completely removes all
changes from memory.
Redo
The Edit | Redo menu option reverses the last changes that took place when you used
the Undo menu option. Like the Undo option, you can use the Redo option multiple
times to replace multiple changes.
Be aware that switching to a different Edit window mode, completely removes all
changes from memory.
2
Using Standard Edit Commands
Cut
The Edit | Cut menu option allows you to "cut" or move commands (or text) from one
area to another using the clipboard.
To move commands using Cut:
1. Highlight the commands you want to move.
2. Select the Cut option. The commands are removed from the Edit window and
stored on the Clipboard.
3. Select the Paste command to restore the cut commands. (For information, see
"Paste".)
When you select the Cut command, the Clipboard contents are replaced with
the cut selection.
Copy
The Edit | Copy menu option also allows you to copy and move commands (or text)
from one area to another using the clipboard. The only difference between this option
and the Cut option is that the commands are not removed from the Edit window when it
is copied.
To copy and paste commands:
1. Highlight the desired commands.
2. Select the Copy command. The text remains in its current location but is stored
in the Clipboard as well.
3. Select the Paste command to restore the cut text. (See "Paste".)
When you select the Copy command, the Clipboard contents are replaced
with the copied selection.
3
Editing a Measurement Routine
Paste
The Edit | Paste menu option pastes the copied commands (or text) from the Clipboard
into the Edit window at the current insertion point (or cursor location).
Delete
The Edit | Delete | Selection menu option deletes the currently highlighted selection
from the Edit window. This does not place the contents of the deleted selection in the
Clipboard.
Select All
The Edit | Select All menu option allows you to select all the contents of the Edit
window for editing purposes.
Pattern
Select Edit | Pattern to open the Pattern dialog box. This dialog box lets you define the
offsets to use when you select the Edit | Paste With Pattern menu item.
4
Editing Patterns of Features
To create a pattern:
1. Open the Pattern dialog box.
2. Type the desired offset values.
3. Select the desired mirror option.
4. Type the number of times to offset in the Number of times to offset box.
5. Click OK.
6. Optionally, click Cancel to close the dialog box without changing the current
settings.
X, Y, Z Offset
These boxes allow you to set the X, Y, and Z Offsets between pattern occurrences. PC-
DMIS offsets the nominal X, Y, and Z data of the pasted feature (or set of features) by
these offset values.
Angle Offset
The Angle box allows you to set the angular offset between pattern occurrences.
An angular offset may be useful when you measure the position location of several
holes in a bolt hole pattern where the datum is a hole in the center of the pattern. PC-
DMIS rotates the offset around the origin.
5
Editing a Measurement Routine
You can use angular offsets with X, Y, and Z offsets and flips. PC-DMIS applies these
offsets in this order: flips, rotations, translations.
This option lets you set the number of times that PC-DMIS offsets a pattern. To change
the current value, type a new value. The default value is 1.
Flip X, Y, Z
The Flip X, Flip Y, or Flip Z option flips the selected X, Y, or Z axis for the pasted
pattern.
The Use default prefix check box specifies whether PC-DMIS uses a default ID prefix
when you use the Paste With Pattern menu item to paste features.
• If you select this check box, the Paste With Pattern menu item uses the default
ID prefix when you paste new features.
• If you clear this check box, the Paste With Pattern menu item uses each feature
ID as the base feature name and adds an incremental and numerical suffix.
If you don't use a default prefix when you paste many lines, the processing time
is longer because each feature ID represents a new pattern.
This check box works only with auto features and measured features. Also, this
works with only these move commands:
MOVE/POINT,MOVE/INCREMENT,MOVE/CLEARPLANE,MOVE/CIRCULAR,MOVE/ALL
,and MOVE/CLEARPOINT
6
Editing Patterns of Features
Suppose you have three auto features: 1, 2, and 3. If you don’t select this
check box, PC-DMIS pastes the new features as 4, 5, 6.
If you select this check box, and change the Number of times to offset value from 1 to
2, you have nine features in this order: 1, 2, 3, 6, 5, 4, 7, 8, 9. Each new set of features
(6, 5, 4 and 7, 8, and 9) reverses its order from the previous set. PC-DMIS follows that
order during execution. In the diagram below, you can see this with the green lines. If
you don't select this check box, the black lines show the original execution order:
7
Editing a Measurement Routine
2. If you want to copy and paste one or more auto features and want to use a
predefined clearance plane, make sure that you have set CLEARPLANE=ON
inside the auto features you are copying.
3. From the Edit window, select the feature or set of features to offset. Select Edit |
Copy to copy them to the Clipboard.
4. In the Edit window, select where you want to insert the new features.
5. Select Edit | Paste With Pattern.
The Flip Feature Order check box in the Pattern dialog box works only with
auto features and measured features. Also, this works with only these move commands:
PC-DMIS pastes the contents of the Clipboard into the Edit window by the number of
times shown in the Number of times to offset box in the Pattern dialog box.
Each time PC-DMIS pastes the Clipboard's contents are pasted, the new features are
offset with respect to the previously inserted features by the defined pattern offsets.
PC-DMIS draws the new features in the Graphic Display window.
PC-DMIS generates feature IDs based on how the Use default prefix check box in the
Pattern dialog box is set.
Find
The Edit | Find and Replace | Find menu option opens the Find dialog box which
allows you to find a specified keyword within the Edit window.
8
Finding and Replacing Text
Using Wildcards
Select the Pattern match check box in the Replace dialog (Edit | Find and Replace |
Replace) box to use wildcards to perform pattern matching.
This option also allows you to find text matching a variety of different search criteria.
Consider the following table:
Wildcard
Text To Find Some Examples
to Use
Any one character . D.M matches "DIM" or "D4M".
D[MI]S finds "DIS" and "DMS"
Character set []
but not "DMIS" or "DUS".
LINE[2-6] finds "LINE2" and
"LINE3" but not "LINE1" or
Any one character in a range [-]
"LINE7". Ranges must be in
ascending order.
POINT[^32] finds "POINT1",
Any one character except "POINT5", and "POINT12", but
[^]
character(s) inside brackets not "POINT3", "POINT2",
"POINT21", or "POINT30".
Any one character except range of LINE[^2-5] finds "LINE6" and
[^x-z]
characters inside brackets "LINEH", but not "LINE3"
Character sets that include the "-"
LINE[0-9-] matches "LINE4"
character should have the "-" as the
and "LINE-". LINE[^-0-9]
first or last character of the range. If [-]
matches "LINEH" but not
the range excludes the "-" then the "-
"LINE-".
" should be the second character.
0 or more instances of the preceding lo*p matches "lp" and
character, unless the following: * "looooop".
9
Editing a Measurement Routine
10
Finding and Replacing Text
[[:digit:]] 0123456789
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
[[:graph:]]
0123456789
!"#$%&'()*+,-./:;<=>?@[]^_`{ }~
[[:lower:]] Abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
[[:print:]]
0123456789
!"#$%&'()*+,-./:;<=>?@[]^_`{ }~
[[:punct:]] !"#$%&'()*+,-./:;<=>?@[]^_`{ }~
[[:upper:]] ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEF
[[:xdigit:]]
abcdef
11
Editing a Measurement Routine
Replace
The Edit | Find and Replace | Replace option works much the same way as the Find
option (see "Find"). Once the text is found, however, you can replace that text by using
the Replace dialog box.
You can search and replace with any matching string as long as the last part of the
string corresponds to an editable field, and as long as it is the only editable field in the
string that will be changing.
=AUTO/LINE,SHOWALLPARAMS = YES
because both CIRCLE to LINE is one editable field and NO to YES is another editable
field.
12
Finding and Replacing Text
=AUTO/CIRCLE,SHOWALLPARAMS
=AUTO/CIRCLE,MYSHOWALL
because the part you want replaced is a constant field.
Find What
You can use this box to type the text for PC-DMIS to locate. You can use any of the
various wild cards and search patterns discussed in the "Find" section. See "Find".
Replace With
You can use this box to type the text that you want to replace the found text.
Match Case
This check box tells PC-DMIS to search for text matching the case (upper or lower)
used in the Find what box. For example, if you type "Point" in the Find what box and
selected the Match case check box, PC-DMIS finds "Point" and "Points", but not
"POINT".
Pattern Matching
This check box tells PC-DMIS to look for specified patterns. You should select this
check box when searching for pattern matches using wildcards or other special
character matching.
13
Editing a Measurement Routine
Replace Button
The Replace button replaces the found text with the text string in the Replace with box.
This allows you to replace instances of found text one at a time.
The Edit Data Field wizard is an external program that works with PC-DMIS to let you
change data inside specified data fields of certain command types inside the Edit
window. To access this wizard, select the DataFieldEdit icon from the Wizards toolbar.
This wizard differs from the Replace dialog box. It allows you to change data items
globally inside any mode of the Edit window, whereas the Replace dialog box only
works inside of Command mode. Additionally, this will allow you to replace certain
values that you cannot change using the Replace dialog box.
14
Jumping to Specified Line Numbers
Choose Command Type – This list displays the available command types.
Choose Data Type – This list displays the data types for the selected command type. If
you want to see all data types in this list, select All Command Types, from the Choose
Command Type list.
Type Index – This box lets you specify an exact field you want to change by its
numerical index. You will find this useful when you have more than one field of the
same data type and you want to change only one of the fields. Typing an index value
lets you determine which one to change. For example, the CLEARP command has two
distance fields, one for the clearance distance and one for the pass distance. Typing an
index of 1 would target the clearance distance while a value of 2 would target the pass
distance.
Change From – This area contains the Use check box and a box that holds a value.
This check box lets you specify a value you want to change from. This means that PC-
DMIS will only target those fields that have the given value.
Change To – This box lets you determine the new value for the data field you want to
update.
Verify Each Change – If you select this check box, PC-DMIS will display a message
box showing the ID of the item to change, its current value, and whether or not you want
to change that data field to the new value.
Change – This button begins the process of finding the data field and changing it to the
new value.
Status – The box at the bottom of the dialog box displays any status or diagnostic
messages during the change process.
Go To dialog box
15
Editing a Measurement Routine
Suppose in an alignment block you have the following commands and you
want to jump to the LIN2 feature referenced in the block:
16
Editing Nominal and Target Values
You would highlight LIN2 and select the Jump To menu option from the menu
bar or right-click and select it from the shortcut menu. You can then jump back to the
command you were just at by selecting Jump Back.
You can also select these menu options from a shortcut menu that appears when you
right-click on the features in the Edit window's Command mode.
17
Editing a Measurement Routine
Be aware when you have a Feature Control Frame (FCF) dimension and
you've customized individual nominal values in that dimension. If you then change the
associated nominal values in the feature, a message box appears. If you choose Yes,
to update the dimension nominals, PC-DMIS overwrites any previous nominal changes
you made to the FCF dimension. For information on FCF dimensions, see the "Using
Feature Control Frames" chapter.
18
Overriding Found Nominals
The FindNoms Override dialog box (Edit | Override Find Noms) allows you to choose
the appropriate nominal point from CAD surfaces for Auto Vector Points, Auto Surface
Points, and individual hits inside other features (such as scans). This dialog box
overrides the default FindNoms behavior of PC-DMIS during Learn mode and Execute
mode.
When attempting to find a valid nominal point (within the FindNoms tolerance) by taking
a manual hit, PC-DMIS will, most of the time, choose the correct point. However, there
are exceptional circumstances when PC-DMIS cannot find an appropriate point and
instead chooses an inaccurate point on the CAD model. In these situations, you can use
the FindNoms Override dialog box to help PC-DMIS find the appropriate nominal point
from the CAD surfaces.
1. Ensure that you have imported a valid CAD model that supports surfaces.
2. Select the Surface Mode icon.
3. Select the Program mode icon.
4. From the SetUp Options dialog box, from the General tab (Edit | Preferences |
Setup), select both the Find Nominals and Point Only Mode check boxes.
The following topics describe the FindNoms Override dialog box itself and how to use
the dialog box in the different modes:
19
Editing a Measurement Routine
The following topics describe the FindNoms Override dialog box (Edit | Override
FindNoms).
A "T-value" is the distance of the measured hit from the nominal point along
the nominal CAD surface vector.
• Priority Surface - This column lists the surfaces that you have stored as priority
surfaces in the Edit CAD Elements dialog box (Edit | Graphic Display Window
| CAD Elements). It displays the type of surface and a check box. The check box
allows you to add or remove the surface from the list of priority surfaces
maintained by PC-DMIS. If you select the check box, PC-DMIS adds the surface
to the priority list. Deselecting the check box removes the surface from the list.
• Pierce Point - This column lists the nominal point values found using PC-DMIS's
Pierce Point operation. If you see the text "Failed OP" in this column, it means
that the pierce point operation failed to find the nominal point on that surface. If
PC-DMIS highlights a point in green then that point is the best nominal point
found by the selection algorithm. You can, of course, override this selected point.
• Drop Point - This column lists the nominal point values found using PC-DMIS's
Drop Point operation.
20
Overriding Found Nominals
3. Select the Surface mode icon from the Graphics Modes toolbar.
4. Select the Override FindNoms menu option. The FindNoms Override dialog
box appears.
With the FindNoms Override dialog box open, when you take a manual hit, PC-DMIS
follows its normal logic to choose as accurate a nominal point as possible by using the
most recently measured hit coordinates and approach vector.
You can then use the FindNoms Override dialog box to perform additional procedures
allowing you to override the found nominal point.
21
Editing a Measurement Routine
22
Overriding Found Nominals
PC-DMIS ignores the FindNoms tolerance with this option. So, even if the
selected CAD surface is out of FindNoms tolerance, the dialog box still displays the
points.
Option 4 - You can increase the FindNoms tolerance by changing the value in the
Tolerance box and clicking the Apply button. PC-DMIS will then apply these
procedures again, using the higher tolerance value and display any appropriate points:
• "Procedure 1: Finding Nominal Points on the Previous Surface"
• "Procedure 2: Finding Nominal Points on Priority Surfaces"
• "Procedure 3: Finding Nominal Points on All CAD Surfaces"
You can then choose a valid point and click Override to accept a nominal point for the
recently created Auto Vector Point.
23
Editing a Measurement Routine
Increasing the FindNoms tolerance in the Tolerance box has the same effect as
changing the FindNoms tolerance from the General tab of the SetUp Options dialog
box.
24
Marking Commands for Execution
You can also choose to re-execute the recently measured point feature. In that case,
PC-DMIS re-executes and attempts to find nominal values again. If it still can't find any
nominal values for the point, PC-DMIS again displays the FindNoms Override dialog
box.
You can then do one of the following:
• Re-execute again.
• Use the Override button as discussed in the "Procedure 4: Choosing a Nominal
Point Later" topic
• Close the dialog box by clicking the Cancel button. If you close without choosing
an appropriate nominal, PC-DMIS replaces the measured data with the previous
nominal values.
Mark
From the Edit | Markings | Mark menu option, you can mark a specified feature or
command for execution. By default, whenever you create a new measurement routine,
newly added features and commands are already marked for execution. If you select
Mark on an already marked item, the marking is cleared.
25
Editing a Measurement Routine
PC-DMIS indicates a marked item using the current Marked Text Color in the Edit
window. PC-DMIS also displays an asterisk (*) next to the feature ID in the Graphic
Display window. For information on the Marked Text Color, see "Defining Edit Window
Colors" in the "Setting your Preferences" chapter.
You can mark features or commands in any of these ways:
• Mark the desired feature or command in the Edit window. Position the cursor
over the feature to be marked, and select Mark. The marked command is
highlighted.
• Mark multiple commands in the Edit window. Select multiple commands to be
marked in the Edit window, and select Mark. The marked commands are
highlighted.
• Mark the desired feature in the Graphic Display window. Make sure PC-DMIS is
in Translate mode. Hold down Alt and then click on the desired feature.
• Mark Multiple features in the Graphic Display window. Make sure PC-DMIS is in
Translate or Text Box mode. Hold down Alt and then drag a box around the
desired features.
If you select Edit | Markings | Parent Mode, and you mark a constructed feature or a
dimension, PC-DMIS also marks any related features used in the construction or
dimension process.
If you select Edit | Markings | Child Mode, and mark a feature that is used to construct
a feature or create a dimension, PC-DMIS also marks any related child features.
Once an item is marked, specific lines within some items can be unmarked. For
example, you can unmark a HIT/BASIC line in a feature. When you unmark such a
line, PC-DMIS does not execute that line.
If dimensions are marked after they are executed, PC-DMIS sends the results to the
Report window or statistics file based on the dimension output and the report output
26
Marking Commands for Execution
configuration. For more information, see "Output To" in the "Using Legacy Dimensions"
chapter.
Mark All
The Edit | Markings | Mark All menu option marks all of the features or commands in
the Edit window. PC-DMIS marks the selected items in the Edit window, displaying them
in green colored text. PC-DMIS also displays an asterisk (*) next to each feature ID in
the Graphic Display window that is marked for execution.
When you select Mark All, PC-DMIS asks if you also want to mark manual alignment
features.
• If you select the Yes button, then PC-DMIS marks the entire measurement
routine for execution, including the alignment features.
• If you select the No button, PC-DMIS marks the entire measurement routine for
execution, but does not mark the alignment feature. Additionally, since move
commands don't function in manual mode, they remain unmarked as well.
Clear All
The Edit | Markings | Clear All menu option clears (or un-marks) all the items in the
Edit window that were earlier marked for execution.
Parent Mode
Selecting Edit | Markings | Parent Mode marks the parent command (if this menu
option has a check mark and the related command is marked in the Edit window). A
27
Editing a Measurement Routine
‘parent’ is a command (or information from a command) used in another command. For
example, if you mark a dimension and select this option, the feature used in the
dimension will also be marked.
If you unmark a marked child command, the parent command stays marked.
Child Mode
Selecting Edit | Markings | Child Mode marks any children commands as long as the
related parent command is also marked. A ‘child’ is a command that is dependent upon
another command in order to function. For example, if you mark a feature that has a
dimension, and you have this option selected, PC-DMIS will also mark the dimension for
that feature.
If you don't select either the Parent Mode or Child Mode options, PC-DMIS
marks only the selected items. If you unmark a marked parent command, the child
command stays marked
28
Marking Commands for Execution
The ability to import markings for FBM (Edit | Markings | Import Feature
Based Measurement) is supported only in legacy versions of PC-DMIS. This ability is
not available starting with PC-DMIS 2016.0.
Mini routines provide the user interface that enables you to execute a measurement
routine that you create with the FBM method. For complete information, see "Using
Feature Based Measurement".
When you import an .xml file, PC-DMIS marks the features, dimensions, and groups as
indicated in the file. All other measurement commands are unmarked. Non-
measurement commands (move points, clear plane, tip change, and so on) are
unaffected and maintain their previously-marked state.
29
Editing a Measurement Routine
A Sample Marked Sets window with two created marked sets (Set1 and Set2)
• You can define up to thirty (30) marked sets for a measurement routine.
• When you execute a marked set, PC-DMIS executes only those features within
the active marked set.
• PC-DMIS displays every marked set as an icon in the Marked Set window. Each
icon graphically indicates all of the features that are associated with that marked
set.
When the Marked Sets window is hidden, all marked sets are disabled and the
standard mode for executing a measurement routine is followed.
Available Buttons
Exit to File Manager - This button closes any open measurement routines and returns
you to the Open dialog box. For information on this dialog box, see "Opening Existing
Measurement Routines" in the "Using Basic File Options" chapter.
Print full report - This button sends the current report to the selected output. For
information on printing options, see "Printing the Report Window" in the "Using Basic
File Options" chapter.
30
Creating and Executing Marked Sets
Calibrate tips - This button accesses the Probe Utilities dialog box so you can
calibrate your probe tips. PC-DMIS disables this button for the Romer and Garda
interfaces. For information on probe definition and tip calibration, see "Defining Probes"
in the "Defining Hardware" chapter.
If you click a button for a marked set, PC-DMIS executes the features associated with
that marked set.
2. In Enter mark set label, type a name to identify the marked set. While there's no
limit to the length of the name, short descriptive keywords improve readability.
3. Click OK. Your new marked set is stored in the Marked Sets window. At this
point PC-DMIS also displays an Output Configuration dialog box. This dialog
box allows you to define printing options specific to this marked set. (See "Setting
Output and Printer Options for the Report Window" in "Using Basic File Options"
for information on the various options in this dialog box.)
31
Editing a Measurement Routine
4. Define specific printing options for this set. Or, if you want to use the existing
print options defined for your entire measurement routine, simply select the Use
Global Print Settings check mark.
5. Click OK. The dialog box closes.
6. Now, you need to select this Marked Set and add features to it. To do this, follow
the procedure in the "To Add or Remove Features on Existing Marked Sets"
topic.
32
Creating and Executing Marked Sets
33
Editing a Measurement Routine
Using Breakpoints
The Edit | Breakpoints menu option provides a useful debugging tool to create, test,
and run a measurement routine. Generally, measurement routines are executed
sequentially, line by line. By placing a breakpoint at a particular line in the measurement
routine, the execution pauses when it reaches the breakpoint. If the measurement
routine makes use of variable expressions and flow control, you can examine these
variables to help ensure that the measurement routine functions as desired.
Once PC-DMIS pauses for the breakpoint, you can use the Step Next button on
the Execution dialog box to continue the measurement process one step at a time. This
pauses the CMM after executing each step of any command that tells the CMM to
move. While in Step Mode, you can insert additional hits into features or you can insert
34
Using Breakpoints
new features between existing features or commands. Step Mode can also be
simulated off-line.
When you are ready to continue with the measurement routine's execution, click
Continue on the Execution dialog box. You can use menu and keyboard
commands to speed up the placement and removal of breakpoints. Breakpoints are
saved with the measurement routine; they remain available the next time you open the
measurement routine.
35
Editing a Measurement Routine
Toggle Breakpoint
The Edit | Breakpoints | Toggle Breakpoint menu option allows you to set or remove
a breakpoint. The breakpoint will be set at or removed from the line in the Edit window
where the cursor is currently positioned. A small circular red icon will appear in the left
margin of the Edit window to indicate that a breakpoint has been set.
Insert Defaults
The Edit | Breakpoints | Insert Defaults menu option allows you to set breakpoints
throughout the measurement routine at default locations. Default locations are defined
as lines in the Edit window that contain commands which generate motion of the CMM
or cause branching to occur as a result of a flow control command (such as IF THEN
statements). See the "Branching by Using Flow Control" chapter for more information.
Remove Defaults
The Edit | Breakpoints | Remove Defaults menu option allows you to remove
breakpoints throughout the measurement routine from default locations. Only those
breakpoints that are set on default locations (See "Insert Defaults") will be removed.
Any breakpoints that are set in non-default locations will remain in place.
Remove All
The Edit | Breakpoints | Remove All menu option allows you to remove all breakpoints
from a measurement routine.
36
Setting Start Points
You can only set start points when the Edit window is in Command mode (see "Working
in Command Mode" in the "Using the Edit Window" chapter).
When you insert a start point into the measurement routine and then select File | Partial
Execution | Execute From Start Points, PC-DMIS begins the measurement routine
execution from the first start point instead of starting the execution flow at the beginning
of the measurement routine.
Be aware that if the current tip for that location in the measurement routine does
not match the current orientation of the probe head, PC-DMIS does not try to and go
back to execute the tip command above it in order to change the tip orientation.
Start points are especially useful if you are working in Multiple Arm mode and you need
to set a different start point for each arm (see the "Using Multiple Arm Mode" chapter).
To insert a start point into your measurement routine, click the location in the Edit
window where you want the start point to appear, and then select the Set Start Point
icon from the Edit window toolbar. Or, right-click in the Command mode and select Set
Start Point from the shortcut menu.
You can also enable start points to always track the execution of a measurement
routine (see "Start Points Always Track Execution" in the "Check Boxes for the General
tab" chapter).
For more information, see "Setting Start Points for Multiple Arms" in the "Using Multiple
Arm Mode" chapter, and "Edit Window Toolbar" in the "Using Toolbars" chapter.
37
Editing a Measurement Routine
Using Bookmarks
Bookmarks can be set when the Edit window is in Command Mode (see "Working in
Command Mode" in the "Using the Edit Window" chapter) or, if enabled, in DMIS Mode.
Bookmarks mark frequently accessed lines in a measurement routine. Once a
bookmark is set, you can use menu or keyboard commands to move to it. You can
remove a bookmark when you no longer need it. Bookmarks are saved between editing
sessions and are therefore available the next time the measurement routine is opened.
Be aware that bookmarks are assigned to line numbers, not commands. Thus,
setting bookmarks in one mode and then switching to another mode may cause the
bookmarks to show up on different commands even though they're on the same line
numbers.
Toggle Bookmark
The Edit | Bookmarks | Toggle Bookmark menu option allows you to set or remove a
bookmark. The bookmark will be set at or removed from the line in the Edit window
where the cursor is positioned. A small blue icon will appear in the left margin to indicate
that a bookmark has been set.
Next Bookmark
The Edit | Bookmarks | Next Bookmark menu option allows you to move to the next
bookmark in the Edit window. If no bookmark is found below the current cursor position,
searching will resume at the top of the Edit window.
38
Changing Fonts and Colors
39
Editing a Measurement Routine
To define the password, type the same string of characters into the two boxes, and click
OK. When you enable Protected Mode, a check mark appears next to the Protected
Mode option on the Edit menu.
The Protected Mode password supersedes and overwrites any other password
you have defined. This means that if you have enabled password protection for the
Setup Options dialog box (Edit | Preferences |Setup) or for an .ipd (Inspection Plan
Default) file, you will need to use the password that was defined when Protected Mode
was enabled.
The PC-DMIS administrator can create marked sets, which allow the
execution of a partial measurement routine. The operator can execute marked sets in
Protected Mode.
Visual Indicators
The main visual indicators that PC-DMIS is in Protected Mode are these:
40
Updating Nominals from CAD
• Only a few menus exist, and you cannot edit most of the options on those
menus. For example:
• Only the Edit Window toolbar, Probe Mode toolbar, and Graphic View toolbar
are available.
• The Edit window in Command mode or DMIS mode has a uniform color to
indicate the static text. For example:
41
Editing a Measurement Routine
• You have already measured features without any CAD, but you now have CAD,
and want to update your features' nominals.
• You want to update your features' nominals to match an updated CAD model.
To update your features' nominals from the CAD:
1. Select File | Import to import the CAD model you want to use. For more
information on how to import a model, see "Importing a CAD file" in the "Using
Advanced File Options" chapter.
2. Select Operation | Features | Update Nominals from CAD and choose one of
these sub-menu items:
All - Updates all the features' nominals in the measurement routine.
Current - Updates only the selected feature's nominals.
The status bar shows the operation results as it runs.
How it Works
This operation uses the Find Noms tolerance located on the General tab of the Setup
Options dialog box (Edit | Preferences | Setup). For information on the Find Noms
tolerance, see "Other Edit Boxes for the General tab" topic.
This list provides information about how this operation updates the nominals for specific
features:
• Point - PC-DMIS uses the XYZ and IJK of the point feature to draw an imaginary
line that pierces the CAD model. It updates the nominal values to match the
closest intersection to the original XYZ with the CAD model.
• Edge Point, Angle Point, Corner Point - PC-DMIS looks on the CAD model for
the nearest feature of that type. The XYZ value must lie within the Find Noms
tolerance of the original feature. It then updates the nominal values to match the
CAD model.
• Plane - PC-DMIS projects the plane's XYZ onto the CAD model's closest planar
surface. The XYZ must lie within the Find Noms tolerance of the original feature.
It then updates the nominal values to match the CAD model.
• Circle, Ellipse, Cylinder, Cone, Polygon, Sphere - PC-DMIS looks on the CAD
model for the nearest feature of that type. The XYZ and diameter must each lie
within the Find Noms tolerance of the original feature. Cylinder and Cone also
have a length value that must also lie within the Find Noms tolerance. It then
updates the nominal values to match the CAD model.
• Square Slot, Notch Slot, Round Slot, Flush & Gap - PC-DMIS looks on the
CAD model for the nearest feature of that type. The XYZ as well as the length
42
Resetting Measured Values to Nominals
and width of the sides must each lie within the Find Noms tolerance of the
original feature. It then updates the nominal values to match the CAD model.
• Polygon - PC-DMIS looks on the CAD model for the nearest feature of that type.
The XYZ and the diameter must each lie within the Find Noms tolerance of the
original feature. The feature on the CAD must have the same number of sides as
the original feature. It then updates the nominal values to match the CAD model.
• Line - PC-DMIS projects the line's start and end points of the original feature
onto the CAD model. Both points must lie within the Find Noms tolerance. It then
updates the nominal values to match the CAD model.
• All other feature types - PC-DMIS locates all the features' hits, and projects
each hit onto the CAD model to find the nearest XYZ point on the model. The
XYZ of each projected point must lie within the Find Noms tolerance of the
original hit.
43