04 Using Advanced File Options PDF
04 Using Advanced File Options PDF
Contents
Using Advanced File Options ......................................................................................... 1
i
Contents
Execute................................................................................................................. 88
ii
PC-DMIS 2017 R1 Core Manual
This chapter specifically deals with advanced file options. For more basic options, see
the "Using Basic File Options" chapter.
These options and commands are described in detail throughout this chapter.
DMIS data is imported into the measurement routine in PC-DMIS format, eliminating the need
for a separate file.
1
Using Advanced File Options
CAD Data - CAD, CAD by Reference, CATIA, DES, DXF, IGES, Inventor, JT,
Parasolid, Pro/Engineer, SolidWorks, STEP, STL, Unigraphics, VDAFS,
Wavefront, or XYZ
Feature Data - ASCII, AVAIL, Chorus DMIS, Datalog, DMIS, MMIV, Pointcloud,
Tutor, MeasureMax, Inspection Plan, CSV, or XYZ.
PC-DMIS imports CAD data as CAD entities into the Graphics Display window.
It keeps track of the CAD data as a separate file. This file has the same file
name as the measurement routine and has a ".cad" extension.
EXAMPLE: If you have measurement routine with a file name of test.prg, once
you add CAD data to this measurement routine, PC-DMIS creates a CAD file
named test.cad and stores it in the same directory.
You can use PC-DMIS to import existing .cad files for multiple measurement
routines. For information, see "Importing a CAD by Reference".
CAD
CAD by Reference
CATIA V4 DCT
CATIA V5 DCT
CATIA V6 DCT
DES
DXF/DWG
IGES
Inventor
JT
Parasolid DCT
Pro/ENGINEER DCT
SolidWorks DCT
STEP
STL
Unigraphics DCT
2
PC-DMIS 2017 R1 Core Manual
VDAFS
Wavefront Object
XYZ
General Procedure
To import CAD data into the Graphic Display window of your inspection plan, follow this
general procedure. You can find specifics for your CAD type in the topics below:
1. Select the File | Import | <CAD File Type> menu item to show the Import dialog
box.
2. Browse to and select the needed CAD file.
3. Click Import to import the file. If you already have a CAD model in the Graphics
window, PC-DMIS asks if you want to replace the existing CAD data or merge
the CAD data together.
To add the input data without deleting the existing data, click Merge (new
data) option.
To replace the existing data with the new input data, click Replace.
To return to the Open dialog box, click Cancel.
HINT: Some imported file types automatically replace old existing CAD
data with the imported data. In those cases, you won't be presented with
the Merge Import Data dialog box.
If your model contains embedded GD&T callouts, PC-DMIS asks if you want to
create Edit window commands from the GD&T callouts:
If you click Yes, the importer also imports and converts the GD&T callouts
into GD&T and other Edit window commands.
If you click No, the importer does not convert the GD&T callouts. (You can
always use the Operations | Graphics Display Window | Select GD&T
menu item to convert all the CAD GD&T callouts later; or for specific
3
Using Advanced File Options
NOTE: If you re-import the original CAD model file, the importer removes any
modifications to the GD&T CAD callouts in the Graphic Display window.
Your file to import should have the same measurement units as the
measurement routine that takes the import. If the files don't have the same
measurement units, you can still import the file, but the measurement routine
ends up with incorrect information. For example, if you have a circle with an X
value of 4 inches in the file to import, the software imports it as 4 millimeters if the
measurement routine that takes the import expects millimeters.
HINT: You can reference one CAD file from more than one measurement
routine. See the "Importing a CAD by Reference" topic for more information on
how to do this.
4
PC-DMIS 2017 R1 Core Manual
1. Select the File | Import | CAD By Reference menu option to open the Import
dialog box.
2. For Files of type, you can choose to import a .cad, .draw, or .plancad file.
If you import a .plancad file, the software imports both the plan features
and the embedded CAD model.
If PC-DMIS detects changes in the original .plancad file that you're
referencing, it asks if you want to use the Change Manager to handle
those changes. For information on the Change Manager, see "Updating
Inspection Plans with the Change Manager".
The software only reloads the CAD model if the original .plancad file is modified.
IMPORTANT: You cannot have circular references to .cad files. These result in error
messages. For example, an error would occur if you created a measurement routine,
imported an IGES file, saved the measurement routine, and then later attempted to
import its own .cad file.
Once imported, you can use the View | CAD Info menu option to view information
about a CAD element and display the file path for the referenced CAD file. For
information, see "Viewing CAD Information" in the "Editing the CAD Display" chapter.
NOTE: Be aware that modifications made to the CAD model - either the original CAD
model or a referenced CAD model - are made to all other measurement routines based
on that CAD model. For example, if you make changes to the original CAD model, any
models referenced from the original are also changed. Conversely, if you make changes
to a referenced model, then the original model also has the same changes made.
1. Select the File | Import | CAD menu option to open the Import dialog box.
2. Use the dialog box to locate the files to import.
3. Press CTRL and then click on different files to select multiple files at the same
time.
5
Using Advanced File Options
4. Click Open to import the files. If existing CAD data exists in the Graphic Display
window, you can choose to merge or replace the data as explained in "Importing
CAD Data". The status bar shows a progress bar of each file's import.
1. Open the measurement routine in PC-DMIS into which you are going to import
the CATIA file.
2. Select the File | Import | CATIA and select the appropriate CATIA file option
from the list of CATIA file types. An Open dialog box appears.
3. Choose the appropriate CATIA type from the Files of Type list at the bottom of
the dialog box. PC-DMIS lists files ending with extensions according to what you
selected.
If you selected CATIA4 Files then PC-DMIS lists files with .mod, .exp, .iso,
and .cat filename extensions.
If you selected CATIA5 Files then PC-DMIS lists files with .CATPart and
.CATProduct filename extensions.
If you selected CATIA6 Files then PC-DMIS lists files with .3dxml filename
extensions.
4. Navigate through the available directories until you find the directory containing
the desired CATIA file and select that file from the list.
5. Click the Import button. PC-DMIS imports the CAD file, and a progress bar
appears indicating its progress.
6. If your model contains embedded GD&T callouts, PC-DMIS asks if you want to
create Edit window commands from the GD&T callouts:
If you click Yes, the importer also imports and converts the GD&T callouts
into GD&T and other Edit window commands.
If you click No, the importer does not convert the GD&T callouts. (You can
always use the Operations | Graphics Display Window | Select GD&T
menu item to convert all the CAD GD&T callouts later; or for specific
6
PC-DMIS 2017 R1 Core Manual
CATIA v5 Assemblies
CATIA v5 assemblies can contain embedded CATIA v4 model files. When you use the
CATIA v5 DCI or DCT to import a CATIA v5 assembly, PC-DMIS uses the CATIA v4
DCT to translate any embedded CATIA v4 model files. As such, your portlock must be
programmed for the CATIA v4 DCT. Otherwise, the embedded CATIA v4 model files
are not translated. For information on assemblies, see "Working with Assemblies of
Parts" in the "Editing the CAD Display" chapter.
CATIA v5 Captures
PC-DMIS supports CATIA v5 captures. For more information, see the "Using CAD
Captures" topic.
4. Select either Feature or Fixture to specify what type of data is imported. If you
select Feature you can select the Use Symbols check box to use feature labels.
5. Select the XYZ(LWH) or XZY(LHW) option to specify the orientation for the
imported data.
6. Select the Metric option if the needed units are not specified in the DES file.
7. Select the Explode polylines to points option to convert imported lines into
points. Additionally, you can choose to keep the imported polylines by selecting
the Keep polylines option.
8. Click Process to import the DES file.
7
Using Advanced File Options
NOTE: The embedded 3D ACIS data in DXF files is not available in the PC-DMIS 64-bit
version (x64).
1. Select the File | Import | DXF menu option. An Open dialog box appears.
2. Select the data type you want to import from the Files of Type list.
3. Navigate to the directory containing the file to import.
4. Click Import when ready to import the file. PC-DMIS displays the DXF/DWG
Import Status dialog box.
5. Click OK when the DXF or DWG file has been translated. If the translation fails,
the OK button is not available. Click Cancel to decline the addition of the
imported file.
DXF files do not contain units information. It is assumed that the imported DXF is in the
same units as the measurement routine. After importing a DXF file, if the scale is
incorrect, import the DXF file into a measurement routine with different units or use the
CAD Transform dialog box to scale the model to the appropriate units.
8
PC-DMIS 2017 R1 Core Manual
2. Navigate through the available directories to the directory containing your part
file.
3. Select the file.
4. Click the Open button. PC-DMIS next displays the IGES File dialog box. The
IGES File dialog box displays all of the pertinent information regarding the
indicated data file.
5. If you want your surface vectors to be correct and always point away from the
surface, mark the Fix surface vectors check box. This is helpful for point cloud
and laser scanning operations, but it does increase the import processing time. If
you don't use laser scanning, you can clear this check box.
6. If you want to determine what CAD data gets processed and displayed, click the
Setup button (for information, see "Altering Display of IGES Imported CAD").
7. To view specific IGES feature data, click the Data button (for information, see
"Using the IGES Data Dialog Box").
8. To attach this file to the selected measurement routine, simply click the Process
command button. PC-DMIS indicates when the file is 100% processed.
9
Using Advanced File Options
9. To complete the action, click the OK button, and PC-DMIS displays the imported
IGES model. Selecting the Cancel button terminates the entire operation and
closes the IGES File dialog box.
HINT: See the section titled, "Working in Off-line Mode" for information regarding the
different input file formats.
The IGES Data dialog box allows you to click on a specific feature in the list box to
display information regarding that feature's diameter, XYZ nominal, etc.
10
PC-DMIS 2017 R1 Core Manual
To view information about the CAD data you're importing inside the IGES Data dialog
box, follow this procedure:
11
Using Advanced File Options
To access the IGES Setup dialog box and alter how the IGES/DMIS image is displayed:
PC-DMIS draws the selected CAD image with the requested features.
To view these options, from the IGES Import dialog box, click Setup to see the IGES
SETUP dialog box:
The Surface of Revolution check box is available if trimmed surfaces are being used
that have a surface of revolution as a base surface and it is not being read in correctly.
If this is the case, simply select the appropriate options in the Trimmed Surface area of
the dialog box.
If the Default check box is selected, PC-DMIS uses the current setting to process all
future entities.
The Process Entities with Use area contains the following six check boxes that allow
you to select the possible CAD image setup options. They are described here:
Geometry
Determines whether or not to import the geometric entities from the file. Geometric
entities are the curves and surfaces that define the model.
Annotation
Determines whether or not to import the annotation entities from the file. These entities
are used to add annotation or description to a file. These include angular dimension,
diameter dimension, flag note, general label, linear dimension, ordinate dimension, point
dimension, radius dimension, general symbol, and sectioned area entities.
Definition
Determines whether or not to import the definition entities from the file. These entities
are used in definition structures of the file. These include general note, leader,
associativity definition, line font definition, macro definition, subfigure definition, text font
definition, text display template, and network subfigure definition entities.
12
PC-DMIS 2017 R1 Core Manual
Other
Determines whether or not to import the other entities from the file. These entities are
used for other purposes such as defining features in the file. Currently, these include the
color definition entity and the associative instance entity.
Logical/Positional
Determines whether or not to import the logical/positional entities from the file. These
entities are used as logical or positional reference by other entities. Currently, PC-DMIS
does not process any entities that are of this type.
2D Parametric
Determines whether or not to import the 2-D parametric entities from the file. These
entities are positioned in two-dimensional XY parameter space, and are considered a
subset of three-dimensional XYZ space, by ignoring the Z coordinate. This entity type is
intended for use in defining trimming curves on surfaces. Currently, PC-DMIS ignores
this check box. For more information, see "The 'Trimmed Surfaces' Area" below.
If you select all six check boxes, then all IGES entities in the IGES file are imported.
The Process Entities If area contains check boxes that allow you to process certain
entities when they meet certain conditions. The following describes the available
conditions that are met and the description of each check box:
The Trimmed Surfaces area contains check boxes that you may use to properly
process Trimmed Surfaces.
Show Trim
Shows the trimmed surface.
13
Using Advanced File Options
If you select the Show Trim check box, the other check boxes under it become
available for selection. You can use either 'B' or 'C' curves as your trim definition,
depending on the attributes of the trimmed surface.
NOTE: Be aware that if you use 'C' curves as your trim definition, PC-DMIS needs to
calculate the 'B' curves, and that can be quite time consuming.
Also, if the IGES file contains trimmed surfaces that have a surface of revolution as a
base surface these check boxes become available for selection:
Reverse Params
Determines whether or not to fix ‘B’ trimming curves that reverse the U and V
parameters.
V Param 0 to 1
Determines whether or not to fix the ‘V’ parameter that gets defined in the range 0 to 1,
instead of in radians.
U Param 0 to 1
Determines whether or not to fix the 'U' parameter that gets defined with a range of 0 to
1 instead of in radians when the generator of the surface of revolution is an arc.
14
PC-DMIS 2017 R1 Core Manual
surface. In other words, the curve must lie on the surface. However, a poorly
defined ‘C’ trimming curve may break this rule.
Defining the position of the curve using relative positions on the surface.
These are known as ‘B’ trimming curves because each coordinate requires two
values to position it in parametric space. For example, a rectangular surface
could have the parametric position (0,0) at one corner and (1,1) at the opposite
corner. Every position on the surface could then be represented using two-value
pairs between these two extremes. The parametric position (0.5,0.5) would be in
the center of the surface. The parametrically defined curve is represented using
these 2-dimensional parameter-space points. By definition, the curve must be
defined so that it does not go outside the parameter-space of the surface it lies
on. However, a poorly defined surface may break this rule.
Using the IGES file in the "Example of Showing Trim" topic above, if you deselect the
Show Trim check box, the result is an empty model. This is because this particular
IGES file contains only trimmed surfaces. However, if you deselect the Show Trim
check box and select the Show Base Surface check box, this is the result:
15
Using Advanced File Options
Notice that all the holes in the surfaces are gone and that the outer boundaries of the
surfaces are not trimmed.
You can import a part file (.ipt) as a CAD file or an assembly file (.iam) as a CAD
assembly.
1. Open the measurement routine in PC-DMIS into which you are going to import
the Pro/ENGINEER file.
2. Select the File | Import | Inventor menu option. An Open dialog box appears.
3. Choose Inventor Files from the Files of Type list at the bottom of the dialog
box. PC-DMIS lists files ending with these extensions: .ipt and .iam.
4. Navigate through the available directories until you find the directory containing
the desired Inventor file and select that file from the list.
5. Click the Import button. PC-DMIS imports the CAD file, and a progress bar
appears indicating its progress.
Importing a JT File
The JT file format is a relatively light-weight file format capable of containing large
assemblies of parts with faceted data, lighting, textures, curves and surfaces, product
and manufacturing information (GD&T callouts) and other information. It is useful for
visualization and collaboration.
To import a JT file,
1. Open the measurement routine in PC-DMIS into which you are going to import
the JT file.
2. Select the File | Import | JT menu option. An Open dialog box appears.
3. Navigate through the available directories until you find the directory containing
the desired JT file and select that file from the list.
4. Click the Import button. PC-DMIS imports the CAD data from the JT file.
5. If your model contains embedded GD&T callouts, PC-DMIS asks if you want to
create Edit window commands from the GD&T callouts:
16
PC-DMIS 2017 R1 Core Manual
If you click Yes, the importer also imports and converts the GD&T callouts
into GD&T and other Edit window commands.
If you click No, the importer does not convert the GD&T callouts. (You can
always use the Operations | Graphics Display Window | Select GD&T
menu item to convert all the CAD GD&T callouts later; or for specific
callouts, you can box-select or click on them. For additional information on
CAD GD&T callouts, see "Working with CAD GD&T Callouts".)
1. Open the measurement routine in PC-DMIS into which you are going to import
the Unigraphics or Parasolid file. Your hardware key (portlock) must be
programmed with either the Unigraphics or the Parasolid option depending on
your import file type.
If your model contains embedded GD&T callouts, PC-DMIS asks if you want to create
Edit window commands from the GD&T callouts:
If you click Yes, the importer also imports and converts the GD&T callouts into
GD&T and other Edit window commands.
If you click No, the importer does not convert the GD&T callouts. (You can
always use the Operations | Graphics Display Window | Select GD&T menu
item to convert all the CAD GD&T callouts later; or for specific callouts, you can
box-select or click on them. For additional information on CAD GD&T callouts,
see "Working with CAD GD&T Callouts".)
17
Using Advanced File Options
1. Open the measurement routine in PC-DMIS into which you are going to import
the Pro/ENGINEER file.
2. Select the File | Import | Pro-Engineer menu option. An Open dialog box
appears.
3. Choose Pro/ENGINEER Files from the Files of Type list at the bottom of the
dialog box. PC-DMIS lists files ending with these extensions: .prt and .asm.
4. Navigate through the available directories until you find the directory containing
the desired Pro/ENGINEER file and select that file from the list.
5. Click the Import button. PC-DMIS imports the CAD file, and a progress bar
appears indicating its progress.
6. If your model contains embedded GD&T callouts, PC-DMIS asks if you want to
create Edit window commands from the GD&T callouts:
If you click Yes, the importer also imports and converts the GD&T callouts
into GD&T and other Edit window commands.
If you click No, the importer does not convert the GD&T callouts. (You can
always use the Operations | Graphics Display Window | Select GD&T
menu item to convert all the CAD GD&T callouts later; or for specific
callouts, you can box-select or click on them. For additional information on
CAD GD&T callouts, see "Working with CAD GD&T Callouts".)
1. Open the PC-DMIS measurement routine that you are going to import the
SolidWorks file into.
2. Form the main menu, select File | Import | Solidworks to display an Open
dialog box.
18
PC-DMIS 2017 R1 Core Manual
3. The SolidWorks file types are shown in the Files of Type list at the bottom of the
dialog box. PC-DMIS lists files ending with extensions according to what is
currently supported. Supported files are:
4. Navigate through the available directories until you find the directory containing
the desired SolidWorks file and select that file from the list.
5. Click the Import button. PC-DMIS imports the SolidWorks file and displays a
progress bar to indicate the progress of the import.
6. If your model contains embedded GD&T callouts, PC-DMIS asks if you want to
create Edit window commands from the GD&T callouts:
If you click Yes, the importer also imports and converts the GD&T callouts
into GD&T and other Edit window commands.
If you click No, the importer does not convert the GD&T callouts. (You can
always use the Operations | Graphics Display Window | Select GD&T
menu item to convert all the CAD GD&T callouts later; or for specific
callouts, you can box-select or click on them. For additional information on
CAD GD&T callouts, see "Working with CAD GD&T Callouts".)
19
Using Advanced File Options
5. Click OK when the STEP file has been translated. If the translation fails, the OK
button is not available. Click Cancel to decline the addition of the imported file.
6. If your model contains embedded GD&T callouts, PC-DMIS asks if you want to
create Edit window commands from the GD&T callouts:
If you click Yes, the importer also imports and converts the GD&T callouts
into GD&T and other Edit window commands.
If you click No, the importer does not convert the GD&T callouts. (You can
always use the Operations | Graphics Display Window | Select GD&T
menu item to convert all the CAD GD&T callouts later; or for specific
callouts, you can box-select or click on them. For additional information on
CAD GD&T callouts, see "Working with CAD GD&T Callouts".)
20
PC-DMIS 2017 R1 Core Manual
1. Open the measurement routine in PC-DMIS into which you are going to import
the STL file.
2. Select the File | Import | STL menu option. An Open dialog box appears.
3. Navigate through the available directories until you find the directory containing
the desired STL file and select that file. The STL file can be in ASCII or binary
format.
4. Click the Import button. PC-DMIS imports the data as a list of facets that form a
solid model.
5. Click OK when the VDAFS file has been translated. If the translation fails, the OK
button is be available. Click Cancel to decline the addition of the imported file.
If the .VDA file you are importing contains point data within PSET Objects, PC-DMIS
may end up creating a .cad file with fewer CAD entities than what is actually displayed
on the screen.
To get a number of CAD entities equivalent to the number of displayed points on the
Graphic Display window, follow this work-around:
21
Using Advanced File Options
For information on modifying registry entries, see the "Modifying Registry Entries"
section.
1. Open the measurement routine in PC-DMIS into which you are going to import
the .obj file.
2. Select the File | Import | Wavefront menu option. An Open dialog box appears.
3. Navigate through the available directories until you find the directory containing
the desired .obj file, and then select that file.
4. Click the Import button to import the model into the Graphic Display window.
22
PC-DMIS 2017 R1 Core Manual
The software creates each feature based on how many comma-separated numbers
there are on each line. PC-DMIS reads the rows of the .xyz data file and converts the
points to the following CAD entity depending on the amount of numbers per row:
Numbers per
Description CAD Entity Generated
Row
First number = X value
Second number = Y
3 Point with no vector
value
Second number = Y
value
CAD circle with a workplane based
4
vector
Third number = Z value
Fourth number =
diameter
First number = X value
Second number = Y
value
5 Point with no vector
Third number = Z value
Second number = Y
value
23
Using Advanced File Options
Second number = Y
value
Seventh number =
diameter
First number = X value
Second number = Y
value
Seventh number =
nothing
EXAMPLE: If your XYZ file contained a line with 25,280,750,25 PC-DMIS would create
a circle with the centered at x=25, y=280, and z=750 with a diameter of 25.
After selecting the file to import, PC-DMIS displays the features constructed from the
XYZ file in the XYZ File dialog box.
24
PC-DMIS 2017 R1 Core Manual
NOTE: Be aware that the order in which the features are created in the .xyz file and the
order in which they are generated inside PC-DMIS may not be the same.
After you click OK, if you imported the file into the Graphic Display window, PC-DMIS
displays the created CAD elements there. If you imported the file into the measurement
routine, the features appear in the Edit window.
PC-DMIS can read in an .xyz text file that contains XYZ (and possibly IJK) data. The file
should contain the nominal (theoretical) inspection points that need to be measured.
1. Columns 1 - 6 in the first line of the file must contain the characters "XYZIJK".
PC-DMIS uses this sequence of characters as a keyword to distinguish this file
type from DES and IGES files. It must be in capital letters.
2. If the file contains metric data, columns 11 - 16 of the first line must contain the
word METRIC. That is:
Col. 11 = M
Col. 12 = E
Col. 13 = T
25
Using Advanced File Options
Col. 14 = R
Col. 15 = I
Col. 16 = C
3. Each line thereafter must contain three to eight floating point numbers separated
by a comma.
For example, suppose your XYZIJK file looked like this sample:
Line 1 contains the XYZIJK keyword, and since the keyword METRIC isn't on
columns 11 through 16, this defaults to INCH.
Line 2 produces a point with a vector.
Line 3 produces a point with a vector.
Line 4 produces a point with a vector.
Line 5 produces a circle with a vector and a diameter.
Once imported, it will produce this result in the Graphic Display window:
26
PC-DMIS 2017 R1 Core Manual
Graphical Display window showing the data imported from the sample XYZIJK file
It does not affect any CAD model entities displayed in the Graphics Display window.
NOTE: For this menu item to appear, your portlock must have been programmed to
support the "Inspection Planner" module.
PC-DMIS's Generic Parser (GP) is designed to parse the ASCII output from other CMM
systems (like Metrolog). The ASCII output (file) may contain file header, comments,
feature commands, file footer, etc. As long as the info is written line by line in the ASCII
file, GP can parse it according to the user-defined rules provided through the Rule Set
Wizard. After parsing it, GP makes calls to Planner to translate all the filtered-through
info (like feature commands) and import into the active measurement routine.
NOTE: Nine PC-DMIS feature types are supported by GP because they are also
supported by PC-DMIS Planner. The supported features are: POINT, EDGEPOINT,
LINE, PLANE, CIRCLE, CYLINDER, SPHERE, SQSLOT (Square Slot) and RDSLOT
(Round Slot). See "Step 3: Feature Field Assignment and Mapping" topic.
27
Using Advanced File Options
1. Select File | Import | ASCII File. An Open dialog box appears letting you select
the needed ASCII file.
2. Browse to the directory containing your ASCII file.
3. Select the ASCII file and click Import.
4. The Importing dialog box for your ASCII file opens. Use this dialog box to create
new rule sets, add existing rule sets, and start the import process. See "Using the
Importing Dialog Box" for additional information.
5. From the list of rule sets in the Importing dialog box, check to see if the needed
rule set for your ASCII file is already visible. This rule set defines how to import
the chosen ASCII file.
If you have an existing rule set but it isn't already added into the
Importing dialog box, click Add to add it into the dialog box.
If you don't have a rule set defined, you can create a new rule set by
clicking Create. These topics describe how to create a rule set.
Rule Set Wizard - Step 4: Handling Labels, Conflicts, and Point Offsets
6. Select the rule set to use for importing the ASCII file.
7. Once you have your rule set defined and selected, choose how you want to
import the ASCII file:
Directly - This imports the file without showing the Rule Set Wizard first.
By Wizard - This opens the selected rule set in the rule set wizard so you
can preview and modify any rules before importing the file.
8. Parse and import the ASCII file by clicking Import to Measurement Routine.
Follow any on-screen instructions.
The Importing dialog box allows you to create, edit, add, or delete rule sets that can be
used to evaluate your ASCII file.
The selected rule set determines which information will be imported into your
measurement routine. Use the following options to select and apply rules for parsing
your ASCII file.
28
PC-DMIS 2017 R1 Core Manual
Create - Opens Step 1 of the Rule Set Wizard. See "Rule Set Wizard - Step 1:
Excluding Data". Values of the selected Rule Set will be displayed, but if no Rule Set is
selected, then no values will be displayed.
Edit - Allows you to edit the rule set selected from the Rule Set List.
Add - Browses via an Open dialog box to allow you to select a preexisting rule set. The
rule set file is copied into the designated rule file directory and a new entry is displayed
in the list box
Delete - Removes the selected rule set from the Rule Set List.
Set as default - Set the rule set highlighted from the Rule Set List as the default. This
rule set is then used unless another rule set is later selected. If no rule set is newly
selected, the last used rule set is set as the default and is highlighted in the list box. The
next time that you import an ASCII file the default rule set is highlighted.
Import to Measurement Routine - The opened ASCII file is imported into the current
measurement routine:
Directly - Imports the ASCII file using the selected rule set without using the
Rule Set Wizard.
By wizard - Opens Step 1 of the Rule Set Wizard. When you click finish on Step
3, the file will be imported using any newly specified rules.
All rule set files are stored in the same directory designated by the GP. The directory is
named "AscImportRules", where the rule set files are named "*.ascimportrule".
This step of creating a rule set helps you exclude unwanted lines of data from the
import.
The Rules for parsing lines provided in this step determines which lines of your ASCII
file will included for importing into your measurement routine. This appears when you
click Create... from the Importing dialog box. Use the following options to exclude data
from import:
Skip file header - When this option is selected, the specified Number of lines from the
top of the ASCII file will be skipped. Therefore they will not be evaluated or imported
into your measurement routine.
29
Using Advanced File Options
Skip file footer - When this option is selected, the specified Number of lines from the
bottom of the ASCII file will be skipped. Therefore they will not be evaluated or imported
into your measurement routine.
For lines containing - Lines containing the text specified to the right will be evaluated
on the following criteria:
Skip the entire line - Entire line is excluded from being evaluated if qualifying
text is present.
Truncate the strings after - Anything after the qualifying text will be excluded
from being evaluated.
Truncate the strings before - Anything before the qualifying text will be
excluded from being evaluated.
Truncate the strings until - Anything after the first qualifying text and prior to
the text specified to the right of this option will be excluded from being evaluated.
IMPORTANT: Use the Add>> and <<Remove buttons to update the criteria to the
table on the right side of this dialog box. Multiple criteria can be used to evaluate
your ASCII file.
Preview and Refresh - See the "Rule Set Wizard - Previewing the ASCII File" topic.
This step of creating a rule set helps you determine how you want to parse the data in
the ASCII file, by column or by a delimiting character. You can also define the
measurement units to use.
The Delimiter information provided in this step determines the columns for each of the
parsed lines. Use the following options to parse your data.
By column - Use this option for ASCII files that use fixed lengths for fields. This allows
you to separate each field based on the length of the field. This may require a little trial
and error to define the correct lengths for each field.
Add - Specify the Beginning and Ending characters of the field and click Add.
The next column number will be assigned with a the Beginning and Ending
30
PC-DMIS 2017 R1 Core Manual
values. Continue this process of adding columns until all the needed data is
included in the appropriate columns.
Remove - Select the column you need to remove and click Remove. The column
is removed from the list.
Change - Select the column you need to change, alter the Beginning and
Ending values for the column and click Change. The column is updated with the
new information.
By character - Use this option for ASCII files where fields are separated by tabs,
spaces, commas or other characters. Select the separating character, tab or space.
Specific character - Select this option and specify the one or more Specific
characters that separate the fields in your ASCII file. Type the desired character
and click Add to add it to the Character List. Select a character from the
Character List and click Remove to remove a character.
Tab- Select this option and click Add if the fields of your ASCII file are separated
by tabs. Tab is added to the character list.
Space(s) - Select this option and click Add if the fields of your ASCII file are
separated by one or more spaces. Space is added to the character list.
The Units area specifies the measurement units to use for the imported values:
MM - Millimeter
CM - Centimeter
DM - Decimeter
Inch - Inch
Preview and Refresh - See the "Rule Set Wizard - Previewing the ASCII File" topic.
Rule Set Wizard - Step 3: Feature Type Mapping and Field Assignment
This step of creating a rule set helps you to map feature types to the features in your
ASCII file. Additionally, you can assign the field names to the delimited columns.
Feature Type - Select the check box(es) of the feature type(s) that are to be imported.
All of the available feature types are provided in the Feature Type list.
31
Using Advanced File Options
1. If a feature type exists in your ASCII file, highlight the line in the Feature type
area.
2. Click in the list box under the heading "In ASCII file" on the same highlighted line.
3. Type the feature type name exactly as it appears in the ASCII file in the edit box.
HINT: If there are multiple feature types in the ASCII file, but a feature type name is not
defined in the file, the parser doesn't have a way to differentiate which feature is a point,
circle, and so forth. However, if there is only one feature type in the ASCII file, you don't
need to define the feature type name. You only need to mark the check box to the left of
the feature type.
Feature Fields - The available fields for the selected Feature Type are displayed for
assignment. Each field represents a valid PC-DMIS value for the selected feature type.
NOTE: You may also ADD or REMOVE fields by double-clicking the item in the
Field List or the list box on the right.
4. Use the UP and DOWN arrows to ensure that the field values appear in the order
that the corresponding values appear in the ASCII file.
5. Select any unneeded field(s) from the list on the right and click Remove to
remove that field name(s). To select consecutive fields, click the first item, press
and hold down SHIFT, and then click the last item. To select nonconsecutive
fields, press and hold down CTRL, and then click each item.
HINT: PC-DMIS may not accept certain fields in the ASCII file that may be proprietary to
a third-party CMM system provider's software. For such a field, the user can add the
field called “Skip” to inform the GP to skip the column that contains this field.
Preview and Refresh - See the "Rule Set Wizard - Previewing the ASCII File" topic.
32
PC-DMIS 2017 R1 Core Manual
Rule Set Wizard - Step 4: Handling Labels, Conflicts, and Point Offsets
This step of creating a rule set helps you define how your features are handled as
they're imported. You can define the feature labels, what to do if imported feature
names conflict with existing feature names, and whether or not points are offset by a
defined amount in XYZ.
Feature Label - If you want to define the base name for the features to import, mark
Use base name and then type the name of the feature. For example, if you're importing
point features, you might want to type "PNT" or "Point".
Use base name - Mark this to define the base name for the imported features. If
this is cleared, PC-DMIS uses the feature type as the base name.
Base name - Type the base name the process uses for the imported features if
Use base name is marked.
Creation Confliction - Use this area to determine how to handle conflicts with existing
features of the same name.
Update existing nominals - This updates existing features with the imported
data. During import, the process checks the current measurement routine's
existing feature names and attempts to update matching features with the
information contained in the ASCII file. If you have more than one feature in the
measurement routine with the same ID, only the top-most feature in the
measurement routine is updated. When the import process updates the nominal
values of an existing feature, a dialog box appears showing all the features that
had nominal values updated.
Create new feature with a -1 extension - This add an underscore and a
number to the feature ID to make it unique. So, if PNT1 was a duplicate, this
would be changed to PNT1_1. If there was another PNT1, it would be renamed
to PNT1_2 and so on.
Point Offset - This area lets you offset imported points by a specified location.
Offset the points - If marked, points are offset by the distance in the offset
boxes below. If cleared, no offset takes place.
X offset - This defines the offset distance in the X direction.
Y offset - This defines the offset distance in the Y direction.
Z offset - This defines the offset distance in the Z direction.
33
Using Advanced File Options
Finish - This button functions according to how the Rule Set Wizard was started.
If you started by clicking Create, the Rule Set Wizard is closed and a Create new
rule set dialog box appears. Type the name of the new rule set in the Rule set
name box and click OK. A message box informs you that the rule file is saved.
If you started by clicking Edit, the Rule Set Wizard is closed and any changes are
applied to the edited rule set file.
If you started by clicking Import to Measurement Routine (By wizard), The rule
set is applied, and the parsed ASCII file is imported into PC-DMIS as an
Inspection Plan. If any changes have been made to the rule set, then you will
also be prompted to save your changes.
As you make changes in each step of the Rule Set Wizard you can preview the affect
that the rules will have on your ASCII file by using these items at the bottom of the
wizard.
Preview - Marking this check box displays the results of the evaluated file in a preview
drop-down pane.
Refresh - Updates the view of your file based on the changes that you have made to
the evaluation criteria.
Below is an example preview of an ASCII Inspection Plan file where no rules have been
applied. Any ASCII file that contains features can be used to import.
NOTE: The file used as an example is an Inspection Plan from SolidWorks with a .ip
extension. The Generic Parser can work with any ASCII file with any extension.
34
PC-DMIS 2017 R1 Core Manual
Below is an example of the ASCII file after the values shown in Step 1 were defined and
Refresh was clicked. Lines 1, 2, 14 and 15 are excluded based on the defined criteria.
Below is an example of the ASCII file after the values shown in the By character area
in Step 2 were defined and Refresh was clicked. Columns have been added based on
the comma separator (Col1-Col14).
35
Using Advanced File Options
Below is an example of the ASCII file after the features types and field names have
been assigned in Step 3 and Refresh was clicked. Feature types have been assigned
based on the Feature Type field (Col1). Lines that have been successfully assigned to
be imported as a feature type are displayed with blue text.
PC-DMIS converts most DMIS commands into PC-DMIS commands to maximize the
automatic conversion and minimize the manual modifications needed after the
automatic import.
36
PC-DMIS 2017 R1 Core Manual
You can use this dialog box to set the following required information during the import
phase:
Taking the basic steps in the following topics can help you correctly import and translate
your DMIS file into a PC-DMIS measurement routine file.
Verify PC-DMIS's setup, and check if the standard settings in PC-DMIS correspond to
ChorusNT settings. For example, verify the CMM axis conventions and probe head
Orientation and Top Speed (CMM max move speed) value.
Use the PC-DMIS Settings Editor to set the following entries in the DMIS section:
For information on setting registry entries, see the "Modifying Registry Entries"
appendix.
Create a new measurement routine and, when prompted, define a new probe
(Insert | Hardware Definition | Probe). Name it MYPROBE.PRB and specify in
the Probe Utility dialog box the components according to your specific needs.
Import the Chorus qualification program. Use as your probe, the previously
created MYPROBE.PRB file. PC-DMIS imports each SNSDEF statement and
adds the corresponding TIP angles. Note that Chorus identifies each tip with the
DMIS label that looks something like this: a tip with roll = 0 and pitch = 0 is
named S(R000P000T1). PC-DMIS, names this as T1A0B0.
If in ChorusNT you used a self-calibrated probe, import into PC-DMIS a simple
DMIS routine containing the definition of the “Chief” probe, having the right label
37
Using Advanced File Options
(the same used in the SNSLCT/S(label),90,90 for example) and Pitch and Roll
equal to 0.
After you import the DMIS file, your MYPROBE.PRB probe file will contain all the
needed tips. In PC-DMIS these AB tip angles will show an asterisk symbol ‘*’
meaning they are not yet calibrated.
Calibrate the tips in one of the following ways: 1) Execute the measurement
routine. 2) Click the Measure button from the Probe Utilities dialog box.
Step 3: Create the PC-DMIS Measurement Routine File and Import the DMIS File
After PC-DMIS imports the DMIS file, the final PC-DMIS measurement routine will have
at the beginning the LOADPROBE/MYPROBE.PRB command, and for each SNSLCT
statement the corresponding TIP command will appear with the correct A and B angles.
PC-DMIS completes the Import phase, showing you a report in the Warning window.
L## - This represents the line number for that statement in the original DMIS
routine (## represents the number). For example L42 would indicate that on line
42 of the DMIS routine, the DMIS statement is found.
38
PC-DMIS 2017 R1 Core Manual
---: - This symbolizes that the statement was ignored, that is it was not
converted into a corresponding PC-DMIS command because there is no
equivalent PC-DMIS command. For example you will find that PC-DMIS always
ignores the DECL statement because PC-DMIS doesn’t need explicit variable
declaration.
!MAJOR - This means that the specified DMIS statement (Major DMIS Word) is
not supported.
ERROR - This means the specified command was not correctly imported.
Be sure to manually verify that the translation into PC-DMIS functions properly. Look
through the measurement routine in Command mode. Errors appear in red text.
Try executing the measurement routine in OFFLINE mode then try using the CMM in
ONLINE mode at low speed to verify that the measurement routine imported without
problems.
ChorusNT and PC-DMIS are different measuring systems, and some intrinsic
characteristics need to be carefully considered. The following list contains some tips
and suggestions:
The DMIS Standard states that in a MODE/AUTO section the features are measured
with the automatic cycle, ignoring any eventually present PTMEAS.
Since ChorusNT supplies automatic cycle for POINT, CIRCLE, SPHERE and SLOT
(CPARLN), all these cases are translated into the corresponding AUTO feature.
However, due to the intrinsic differences between Chorus and PC-DMIS, you should
carefully verify their execution.
EXAMPLE: In SLOT (round slot) automatic cycle, ChorusNT takes first two points on
one of the straight sides. PC-DMIS however, takes the points on the rounded ends of
the slot.
PC-DMIS recognizes the ChorusNT SNSDEF extension that defines a star probe. Be
careful that the PC-DMIS setup for the Probe Head orientation corresponds to
ChorusNT SNSMNT specification.
39
Using Advanced File Options
ChorusNT and PC-DMIS conventions for the roll angle are different. While PC-DMIS
can correctly adjust it during the import of a Chorus DMIS routine, to be safe, be careful
the first time you execute the imported routine.
PC-DMIS always uses both Theo and Actual values, which should be correct (not too
much off a deviation from actual values). If the deviation is great, you may have
problems, especially with features used in alignments. This is because PC-DMIS
defines two matrices for each alignment:
First, the CADTOPART matrix. Based on the theoretical values, this convert
THEO values in features.
Second, the MACHINETOPART matrix. Based on actual measured values, this
converts actual measured values in features.
Since ChorusNT doesn't have the CADTOPART matrix, it always uses the actual
measured values. If you have the wrong nominal values, you only become aware of
them if you execute an OUTPUT statement on that feature. To verify correctness, you
should add them into the original DMIS routine OUTPUT statements for your features,
especially for the alignment features.
FILNAM
FILNAM in ChorusNT specifies the name of the output file when using
the DISPLY/STOR command. PC-DMIS recognizes it but this command must appear
after the DISPLY in the DMIS routine. Consult your DMIS manual for more information.
VFORM
MEASURED
NOMINAL
DEVIATION
UP_TOL
LO_TOL
CRIT/OOT
40
PC-DMIS 2017 R1 Core Manual
FORMAT/TEXT,OPTIONS,ID,HEADINGS,SYMBOLS,SD;MEAS,NOM,DEV,TOL,OUTT
OL, ,
DEFGRF
DEFGRF statement is a Chorus extension that lets you define dialog boxes with buttons
and input fields. PC-DMIS imports this command and creates a script using the BASIC
language (Cypress Enable). Due to different screen resolutions, it’s possible that the
resulting dialog box may need some adjustment. You can modify the Basic Script file
using PC-DMIS's Basic Script Editor.
ChorusNT's conventions move the head center not the tip's ball center. While the PC-
DMIS import can make the necessary offsets, you should use a low feed the first time
you execute the imported ChorusNT routine inside PC-DMIS.
MRRPCS
GAUGE
In ChorusNT this statement defines and measures a sphere gauge, specifying the
name: G(label), the diameter, and the stem direction. It also optionally specifies the
center position, the incidence angle, and the number of points used to measure it.
Because of the different parameters, PC-DMIS translates this into two commands. The
AUTO/SPHERE and the CALIBRATE ACTIVE:
F(label)= AUTO/SPHERE
The AUTO/SPHERE command uses the same name, diameter, and direction as the
GAUGE statement. If the center position was not specified and during execution you
manually select the first point on the top of the pole, then init=1 and perm=1, otherwise
init=0 and perm=0.
PC-DMIS can also adjust the orientation, angle_vec, and normal_vec values
accordingly.
41
Using Advanced File Options
CALIB
In ChorusNT this statement calibrates the specified probe using the specified sphere
gauge G(label)
TIP/ T1A..B..
The tip command will have the same AB angles as the S(probe) ) statement.
F(label) =AUTO/SPHERE
CALIBRATE ACTIVE TIP WITH FEAT_ID=F(label),
QUALTOOL_ID=label, MOVED=NO
NOTE: The Datalog option is not available in the PC-DMIS 64-bit version (x64).
Datalog programs are text files containing feature information that is stored in a
proprietary format used by Chrysler.
The File | Import | Datalog menu item imports the information stored in the Datalog text
file into your measurement routine. This functions much like importing an Inspection
Plan file. Also, the Change Management dialog box discussed in "Updating Inspection
Plans" topic of the "Using Inspection Plans in PC-DMIS" section also supports the
Datalog file type.
PC-DMIS can import generic DMIS files and DMIS routines created using extensions
from specific vendor environments.
42
PC-DMIS 2017 R1 Core Manual
1. Open the PC-DMIS measurement routine into which you are going to import the
DMIS routine file.
2. Select File | Import | DMIS. An Open dialog box appears.
3. Choose Chorus DMIS Files or DMIS Files from the Files of Type list at the
bottom of the dialog box. PC-DMIS lists routine files ending with either the ".dmi"
or ".dms" file extensions.
NOTE: Chorus NT programs follow the DMIS 3.0 Standard with extensions and
are better managed. In most cases, you should choose Chorus DMIS Files over
normal DMIS Files. For notes on translating ChorusNT DMIS files into a PC-DMIS
measurement routine, see "ChorusNT to PC-DMIS Translation Notes".
4. Navigate through the available directories until you find the directory containing
the desired DMIS routine file and select that file from the list.
5. Click Import.
6. PC-DMIS makes a first-pass translation of the input file. Once it completes this
pass, the DMIS Import Setup dialog box appears. You can use this dialog box to
select many options useful during the actual import phase.
7. Select the necessary options from the DMIS Import Setup dialog box. See the
topics below for information on using this dialog box.
8. Click OK. PC-DMIS finishes the importation process.
43
Using Advanced File Options
The General tab of the DMIS Import Setup dialog box (File | Import | DMIS) allows
you to control probe file translation for the imported DMIS measurement routine. The
controls used on this tab are described here:
DMIS File - This box specifies the DMIS file to import. It automatically contains a
pathway to the file selected from the Open dialog box described in the DMIS import
procedure above.
Merge / Replace - These options specify whether or not PC-DMIS replaces existing
commands with the imported DMIS commands or merges the new commands with the
existing commands.
Select Replace if you want the existing commands in the currently loaded
measurement routine to be replaced with new PC-DMIS commands during the
import process.
Select Merge if you want PC-DMIS commands created during the import process
will be appended at the end of the currently loaded .PRG file.
Arm - This list specifies the arm to use from a multiple arm system.
44
PC-DMIS 2017 R1 Core Manual
Use selected probe file(s) - This option uses an existing probe file selected from the
Probe File list.
1. Select the Arm that will use the displayed probe file from the drop down window.
2. Select the probe file from the list.
3. Click Apply. PC-DMIS will add any tips (sensors) referenced in the DMIS
measurement routines that are not already in the probe file.
Create new default probe file - This option creates a new probe file based on the
SNSDEF statements in the DMIS measurement routine file. PC-DMIS generates a new
probe file giving it the same name as the DMIS measurement routine filename and a
".prb" extension. The created probe configuration defaults to a PH9 wrist with a TP2
connection with a TIP2BY20MM tip. However, if no SNSDEF statements are detected in
the DMIS measurement routine, a probe configuration will not be created.
Ignore SNSLCT/ statements - This option ignores SNSLCT statements in the DMIS
measurement routine during the import process.
HINT: If the default probe configuration does not match the probe configuration of your
machine, you should construct a probe file with the correct probe configuration using
PC-DMIS prior to importing a DMIS measurement routine file. Then select the created
probe file from within this tab and click Apply and then OK. This allows the translator to
select the most appropriate tip(s) during translation of the SNSDEF statements.
45
Using Advanced File Options
The Error Log tab of the DMIS Import Setup dialog box (File | Import | DMIS) causes
PC-DMIS to store any warnings or errors at the end of the import process in a text file of
your choice. Simply click the Browse button and select a text file.
If you want PC-DMIS to automatically display this error log at the end of the import
process, click the Display log when translation is complete check box. The text file
will open in a DMIS Import Results dialog box.
46
PC-DMIS 2017 R1 Core Manual
The Advanced tab of the DMIS Import Setup dialog box (File | Import | DMIS) allows
you to import specific customer requests and configurations. These requests may
include non-standard commands or added / modified parameters of standard DMIS
commands. PC-DMIS disables unnecessary options (and enables needed ones) when
importing Chorus DMIS files. For information on the controls on this tab, see the
descriptions here:
Customer Support - This area contains specific check boxes for DMIS vendors. If your
DMIS files are created using software from these companies, select the appropriate
check box to enable extension support specific to those vendors. These include the
following:
Volvo
Volkswagen
Configuration Support - This area contains check boxes that allow you to select
different DMIS configurations. These include the following:
47
Using Advanced File Options
If you're using a DEA CMM equipped with an IW42, CW43, or CW43L wrist and
you select this check box, PC-DMIS follows Chorus conventions and adjusts the B
rotation angle during the import of the SNSLCT statement.
Option - This area contains a User Defined Tracefield check box. This check box
determines whether or not certain imported DMIS commands are transferred into user-
defined tracefields.
According to the DMIS standard, you can query the operator for the following
information during measurement routine execution with these DMIS commands:
48
PC-DMIS 2017 R1 Core Manual
If you select the User Defined Tracefield check box, PC-DMIS will support the
same functionality required by the DMIS standard by importing DMIS commands
into TRACEFIELD commands, like this:
Then when you execute our measurement routine, PC-DMIS will provide a small
dialog box for each TRACEFIELD command, allowing you to type this information.
If you did not select the User Defined Tracefield check box, PC-DMIS will, by
default, insert these DMIS commands into normal comment report commands, like
this:
Default - This button sets your selection as the default to use when importing DMIS
files.
NOTE: The AVAIL and MMIV options are not available in the PC-DMIS 64-bit version
(x64).
The AVAIL and MMIV file types are used by Micro Measure IV™ measurement
package. PC-DMIS allows you to import this file type into PC-DMIS measurement
routines.
49
Using Advanced File Options
1. Open the measurement routine in PC-DMIS into which you are going to import
the MMIV file.
2. Select the File | Import menu option and then select either Avail or MMIV from
the sub menu to display an Open dialog box.
3. PC-DMIS lists files beginning with AVAIL and MMIV’s "llf" prefix.
4. Navigate through the available directories until you find the directory containing
the needed AVAIL or MMIV file and select that file from the list.
5. Click the Import button to open the Choose Translation Method dialog box. It
asks the method to use to import the data into the measurement routine.
6. Select one of the translation options and click OK to processes your request.
7. For each TOOLCHANGE command encountered in the MMIV file, PC-DMIS
prompts you to select a PC-DMIS probe file.
8. For each TIPCHANGE command encountered in the MMIV file, PC-DMIS prompts
you to select a PC-DMIS probe tip from the Select Tip dialog box’s Tip to Use
list.
50
PC-DMIS 2017 R1 Core Manual
10. Select the workplane that matches your current setup and click OK. PC-DMIS
imports the data into the measurement routine.
For example, suppose you are importing this auto feature in an AVAIL or MMIV file:
51
Using Advanced File Options
If you select XYZ Files, files with an .xyz extension are displayed.
If you select PSL Files, files with a .psl extension are displayed.
If you select STL Files, files with a .stl extension are displayed.
4. Navigate to the appropriate directory and select the desired pointcloud file from
the list.
5. Click Import to load the Pointcloud file into your measurement routine.
Your file to import should have the same measurement units as the
measurement routine that takes the import. If the files don't have the same
measurement units, you can still import the file, but the measurement routine
ends up with incorrect information. For example, if you have a circle with an X
value of 4 inches in the file to import, the software imports it as 4 millimeters if the
measurement routine that takes the import expects millimeters.
52
PC-DMIS 2017 R1 Core Manual
4. Click Import to import the inspection plan and create a measurement routine
from it. For .plancad and .planxml files, once you click Import, the software
opens the Sensor Mapping dialog box so you can map features to sensors. For
more information, see the "Mapping Features to Sensors" topic.
NOTE: PC-DMIS uses registry settings to determine the settings for the imported
features. You can use the Measurement Strategy Editor or the Auto Feature dialog box
to modify these settings.
Once you have completed these tasks, you can then execute your imported inspection
plan as a newly created PC-DMIS measurement routine.
NOTE: If you have problems using the PC-DMIS Planner commands inside PC-DMIS,
ensure that there is an InsPlan.dll file located in the directory where you installed PC-
DMIS.
You must have an Inspection Plan Default file or .ipd to import a .ip file into PC-DMIS.
The "Legacy Planner Parameters and Rules" topic provides more information on this
file.
IMPORTANT: The IP Measure option must be enabled on your portlock to use the
capabilities that are discussed in this section.
Once you've performed the above preparatory steps, you can import the legacy
inspection plan and any rules by importing an inspection plan's .cad file that has the
inspection plan embedded in it or by importing a previously exported inspection plan.
53
Using Advanced File Options
HINT: When importing a CAD file using the CAD by Reference menu option, PC-DMIS
updates the file accordingly if any changes were made to the IP CAD file by the legacy
PC-DMIS Planner application.
2. Browse to and select the needed IP CAD file and click Import. PC-DMIS imports
the IP CAD file.
3. Select File | Import | Inspection Plan. The Select IP Name dialog box appears.
4. Select the needed Inspection Plan and click OK or click Cancel to browse to and
select an exported Inspection Plan via the Open dialog box.
5. Follow any on-screen instructions.
Select the IPD file that will be applied to the imported Inspection Plan if
you have not previously selected it. See the "Legacy PC-DMIS Planner
Parameters and Rules" topic for more information.
If the insertion point is not at the end of the measurement routine, you are
prompted to move the cursor to the end of the measurement routine
before continuing.
If the CAD file comes from a CATIA v5 model, any comments associated
with a feature in the eTool data of the CATIA model are imported as
Feature Locator Text for the feature. Note that eTool is a proprietary
format used by Chrysler. For information on Feature Locator Text, see the
"Providing and Using Feature Locator Instructions" topic located in the
PC-DMIS CMM documentation.
54
PC-DMIS 2017 R1 Core Manual
Specify the Optimize Path options and click OK, or click Skip to ignore
this step. See "Optimizing the Path" for more information.
Specify the options for "Inserting Clearance Moves Automatically" and
click OK to complete this process or click Cancel to skip this step.
2. Browse to the directory containing your file with an .ip filename extension.
3. Select the inspection plan, and click Import.
4. Follow any on-screen instructions.
Select the IPD file that will be applied to the imported Inspection Plan if
you have not previously selected it. See the "Legacy PC-DMIS Planner
Parameters and Rules" topic for more information.
If the insertion point is not at the end of the measurement routine, you are
prompted to move the cursor to the end of the measurement routine
before continuing.
Specify the Optimize Path options and click OK, or click Skip to ignore
this step. See "Optimizing the Path" for more information.
Specify the options for "Inserting Clearance Moves Automatically" and
click OK to complete this process or click Cancel to skip this step.
Once you've imported your inspection plan, the imported commands are preceded by a
start comment that provides the following basic information for the imported inspection
plan:
To import information from a CSV file, navigate to File | Import | CSV from the menu
option.
55
Using Advanced File Options
Each row in the CSV file represents a feature and a feature command that PC-DMIS
creates during the import. If tolerance values are specified, a location dimension
command is also added.
The first row of the CSV file contains the format designators. This designator row
indicates the data for each column. There are predefined column headers. Columns that
do not include a format designator or that have an unrecognized column header are
ignored. Columns can be in any order. If the "Type" column is missing or if there is no
feature type specified for a row of data, this row of information is be treated as a "Point"
feature.
If a row has only an asterisk in column 1 of the first column with no other information in
the row, this signals that the next row will be a format designator row. This lets you
switch formats inside a single CSV file.
File Format...
A CSV file is a Comma Separated Values file that can be created by many software
packages, including Microsoft Excel. Here is an example of an Excel table used to
create a CSV file:
Partial spreadsheet table example 1 used to create a CSV file - continued below
56
PC-DMIS 2017 R1 Core Manual
Continuation of the spreadsheet table example from above used to create a CSV file
Another example of a spreadsheet table used to create a CSV file is shown below:
Point X48a006 76 84 11
The first row (TYPE, NAME, X, Y, Z, +TOL, -TOL) is the format designator row.
Note that in the second example, row two is a point feature and that both +TOL and -
TOL are specified. Both a point feature command and a location dimension command
are added based on this row of information.
Neither +TOL nor -TOL are specified in the point feature in row four. Only a feature
command is added. A location dimension command is not added.
57
Using Advanced File Options
Format Designators
The very first line (or row if viewed in Excel) in a CSV, is the format designator line. It
determines what type of data is expected in the subsequent lines. The following is a list
of valid format designators allowed when a CSV file is imported.
TYPE – this is the feature type. The legal entries for this column are: Point, Line,
Plane, Circle, Ellipse, SlotR, SlotS, SlotN, Polygon, Cylinder, Cone and Sphere.
58
PC-DMIS 2017 R1 Core Manual
An asterisk character (*) in the very first position of a comma delimited row indicates
that this is the end of the data for the current format designator. It also indicates that the
next row is a new format designator row. This lets you have features of multiple types in
the CSV file with simpler format designator rows:
The * here tells PC-DMIS to use the new format designator row in row 5 for the two
circle features
The following describes the sequence of events that occur when a CSV file is being
imported:
1. Each row of data is read into PC-DMIS from the CSV file.
2. The information is matched with the previously defined column headers to
determine the meaning to each item of information.
3. Based on the feature type the information is used to create a feature command.
4. If one or both tolerance values are specified, a location dimension command is
also added.
1. Select File | Import | XYZ into Measurement Routine to show an Open dialog
box.
2. Use the dialog box and navigate to the directory containing the file to import.
59
Using Advanced File Options
3. Click Open to import the file. PC-DMIS interprets the XYZ data and imports it into
the Edit window as separate feature commands.
For in-depth information on XYZ files, see "Importing an XYZ File as CAD Data" for
information on how the software interprets the XYZ data in the file.
You can import routines created by the Tutor™ application into a PC-DMIS
measurement routine.
1. Open the measurement routine in PC-DMIS into which you are going to import
the Tutor file.
2. Select the File | Import | Tutor menu option. An Open dialog box appears.
3. Navigate through the available directories until you find the directory containing
the desired tutor file and select that file from the list.
4. Click the Import button. The Tutor translator begins the translation process, and
the TutorPCDMIS Translator Options dialog box appears. This dialog box
allows you to determine how items in the tutor file should be interpreted or
displayed inside PC-DMIS.
60
PC-DMIS 2017 R1 Core Manual
5. Fill out the dialog box as needed. For information on the options, see "Tutor
Translator Options" below.
NOTE: The TutorPCDmis Translator Options dialog box appears every time PC-
DMIS encounters a load probe command from the Tutor file. If you have correctly set up
your probe map file, you can safely skip the translation of the current load probe
command by clicking the Ignore button.
Units - This shows the units of measurement (either Inch or Metric) of the PC-
DMIS measurement routine you are using to import the Tutor file. Unlike
Tutor for Windows, PC-DMIS doesn’t allow you to change measurement
units at execution time.
61
Using Advanced File Options
Angle Mode - This shows how angles are currently displayed (either Deg or
DMS) in the PC-DMIS measurement routine.
These options allow you to specify Tutor for Windows settings needed for a proper
Tutor to PC-DMIS translation.
Read Wtutor.Ini - Click this button if you need to specify where the Tutor
configuration (.ini) is located. By default, when translation starts, PC-DMIS
searches for this configuration file in the C:\Winnt directory. This file
contains Tutor for Windows configurations needed by the translator.
Position Error - Select Radius if the file you're importing requires the Position
error evaluated as radius, Select Diameter otherwise.
Form Error - Select Double if the file you're importing requires the Double
Form error or select Single otherwise.
Linearity Error - Select Radius if the file you're importing requires the
Linearity error evaluated as radius, select Diameter otherwise.
Tip Diameter - Type the default tip diameter for the probe that you want PC-
DMIS to use in the measurement routine.
Probe File - Use the … button to choose a PC-DMIS probe file (.prb) to use.
ProbeMap File - Use the … button to choose an existing Tutor to PC-DMIS
probe map file (.tp2). If you don't have a probe map file, you can create one
by clicking the New button. The Edit button allows you to change the
currently selected probe map file listed in this box. This map file allows you
to tell the translator what PC-DMIS tip angles it should use when translating
probe commands from the Tutor file into PC-DMIS.
Skip Comments - Select this check box if you don't want to import
programmer comments found in the Tutor file.
3. If you need to specify more information, click Add to add new rows.
4. In the Head column for each row, type the value of 1 through 100 to identify the
probe head in Tutor.
5. In the Tip column for each row, type a value of one through five to identify the
probe tip in Tutor.
6. In the Name PRB column for each row, type the PC-DMIS probe tip angle that
you want to use for the Head and Tip of that row. For example, the probe map
information in the following table tells the Tutor translator to use PC-DMIS's
T5A30B30 probe tip angle when it encounters a probe command of 2,2 in the
Tutor file.
7. If you make a mistake, click the Clear All button. This clears the information from
the dialog box allowing you to start over.
8. Click the … button to save this Tutor to PC-DMIS probe map file to your
computer.
9. Click OK to return to the TutorPCDMIS Translator Options dialog box.
63
Using Advanced File Options
Instead of translating CAD data into the internal CAD format of PC-DMIS, the Direct
CAD file types are accessed directly. That is, the CAD data of these file types remains
in its native format after being imported. Routines native to the CAD type are used for all
calculations done on the CAD data. Accessing the CAD data directly eliminates
problems that can occur because of translation inaccuracies or limitations.
The "Direct CAD Interfaces" documentation discusses importing Direct CAD Files in
detail.
CATIA 5
Pro/Engineer
Solidworks
Unigraphics
NOTE: When selecting the Unigraphics option, the Unigraphics file name appears
in the layers to import dialog box.
64
PC-DMIS 2017 R1 Core Manual
1. Open the measurement routine in PC-DMIS into which you are going to import
the MeasureMax project.
2. Select the File | Import | MeasureMax Project menu option. An Open dialog
box appears.
3. Navigate through the available directories until you find the directory containing
the desired MeasureMax file.
4. Select the .vbp file from the directory.
5. Click Import. PC-DMIS automatically converts the project and inserts the PC-
DMIS commands at the end of your measurement routine.
6. Follow any on-screen prompts to import the MeasureMax project into PC-DMIS.
A Planner user can then export these inspection plans from Planner as a .plancad,
.planxml, or .xml file. These files contains both the underlying CAD model and the
inspection plan data serialized together into a single file.
The File | Import | Inspection Plan menu item discussed here lets you then import the
inspection plan file into PC-DMIS. The import process supports the old legacy PC-DMIS
Planner .ip file or the newer .plancad, .planxml, or .xml file types.
Your file to import should have the same measurement units as the
measurement routine that takes the import. If the files don't have the same
measurement units, you can still import the file, but the measurement routine
ends up with incorrect information. For example, if you have a circle with an X
value of 4 inches in the file to import, the software imports it as 4 millimeters if the
measurement routine that takes the import expects millimeters.
As part of the import, PC-DMIS runs an optimizing routine, which automatically
adds measurement and motion commands in an optimal order for the imported
features.
NOTE: For the File | Import | Inspection Plan menu item to appear, your portlock or
license must have the IP Import option enabled.
65
Using Advanced File Options
For additional information on importing inspection plans, see "Importing from Legacy
PC-DMIS Planner" and "Importing from Planner" from the "Using Inspection Plans in
PC-DMIS" chapter.
Alignment:
PolyWorks Text
GDS (.gds)
Part Model:
Pointcloud:
66
PC-DMIS 2017 R1 Core Manual
VDAFS (.vda)
XYZ (.xyz) - Exports the PC-DMIS measurement routine to an XYZ file type.
BASIC Files (.bas)
Datalog Files (.txt)
DMIS Files (.dmi or .dms)
Microsoft Excel Files (.xls)
Inspection Plan (.ip)
XML Files (.xml)
NOTE: Exporting your measurement routine as CAD data does not export previously
imported CAD part models; instead, it generates a CAD file from existing feature
commands found in your measurement routine.
1. Select the File | Export menu option and the export type (or select an
appropriate submenu, and then the export file type) to open an Export dialog
box.
2. From the Files of Type list, select the desired file type. PC-DMIS displays the
available files for the indicated type.
3. In the File Name box, type the name you want to give the exported file, or select
an existing file from the list. If an existing file is selected, PC-DMIS replaces the
current data in that file with the information generated by the Export operation.
4. Click Export to close the Export dialog box. (Depending on your data type, PC-
DMIS may display another dialog box that asks you for additional input. See the
sub topics below for more information.) PC-DMIS generates the exported data
file to the selected directory and gives it the extension defined in the Files of
Type box.
67
Using Advanced File Options
By default, when you export to a .gds File, PC-DMIS exports the most recent alignment
of the active measurement routine. If desired, the Select Alignment to Output to a
Gds File check box on the SetUp Options dialog box, allows you to select a specific
alignment from a Select Alignment dialog box. See the "Select Alignment to Output to
Gds" topic in "Setting Your Preferences".
The .gds filename defaults to index.gds and will be saved automatically to the armdata
folder of the G-Scan software. If you do not have ROMSOFT software installed, a
common Export dialog box appears, allowing you to select where to export the .gds file.
1. Select File | Export | Part Model | Wavefront and then choose the directory
where you want to export the file.
2. Type a file name.
3. Click Export.
4. PC-DMIS creates the .OBJ file at the specified location.
68
PC-DMIS 2017 R1 Core Manual
To export to DataView,
1. Select File | Export | Part Model | STL and then choose the directory where you
want to export the file.
2. Type a file name.
3. Click Export.
4. PC-DMIS creates the .STL file at the specified location.
1. Select File | Export | Part Model | Wavefront, and then choose the directory
where you want to export the file.
2. Type a file name.
3. Click Export.
4. PC-DMIS creates the .obj file at the specified location.
Solid - (*.xmalsolid)
Wireframe - (*.xamlwireframe)
69
Using Advanced File Options
The XYZ Export dialog box allows you to select options for your XYZ export. This
exports your measurement routine as an .xyz file, a file type readable inside standard
text editors. For information on the .xyz file type, see the "Importing an XYZIJK File" for
a discussion of this file's characteristics.
This dialog box has the exact same options as the STEP Export dialog box. See
"Exporting a STEP File" for information.
70
PC-DMIS 2017 R1 Core Manual
The IGES File dialog box displays information on your selected IGES export in the Start
Section and Global Parameters areas; it also allows you to select additional options
for your IGES export.
See "Using the Display Area" under the "Constructing a Plane Feature" topic for an
example of these display types.
71
Using Advanced File Options
The following sub-topics show the locations of the Display areas in each of the plane
feature dialog box types:
72
PC-DMIS 2017 R1 Core Manual
For information, see the "Constructing New Features from Existing Features" chapter.
73
Using Advanced File Options
The display type can also be changed in the Edit window in the plane feature's settings.
To access this dialog box and alter how the IGES/DMIS image is displayed:
74
PC-DMIS 2017 R1 Core Manual
PC-DMIS draws the selected CAD image with the requested features.
The various output options control how the IGES entities are exported.
Surfaces as Arcs
This check box causes cones, cylinders, and spheres to be exported as arcs. A cone is
exported as a circle at its base and a point at its vertex. A cylinder is exported as two
circles: one circle at the top and one circle at the bottom of the cylinder. A sphere is
exported as a circle about its equator.
75
Using Advanced File Options
Scans as Points
This check box causes scans to be exported as multiple point entities.
To export to DataView,
1. Select File | Export | Part Model | PSL and then choose the directory where you
want to export the file.
2. Type a file name.
3. Click Export.
4. PC-DMIS creates the .PSL file at the specified location.
To export this, select File | Export | DES. Choose where you want to place the file and
click Export. PC-DMIS displays the DES File dialog box.
76
PC-DMIS 2017 R1 Core Manual
The DES File dialog box displays information on your selected DES export in the
Header area; it also allows you to select additional options for your DES export.
When you click the Export button during the DXF or DWG export process (File | Export
DFX or File | Export | DWG), PC-DMIS displays a DXF/DWG Export dialog box.
The DXF/DWG Export dialog box allows you to select additional options for the export
of these file types.
77
Using Advanced File Options
3. If desired, select the Scans as Points check box to cause scan data to get
converted to its scanned points.
4. If desired, select the Output Nominal Values check box to cause PC-DMIS to
create the export file from the nominal values in your measurement routine. If you
don't select this check box, PC-DMIS exports the measured feature results.
5. Click the Export button to finish exporting the DXF or DWG file.
After choosing where to export the file and clicking the Export button, PC-DMIS
displays a dialog box asking for you to choose the alignment to use when exporting the
data and the type of data to export:
Alignment is a drop-down list of alignment options you can choose from to apply to the
data when exported.
Output Type area is where you select the type of data to export, either Dimensions,
Features or both.
78
PC-DMIS 2017 R1 Core Manual
HINT: Only Auto Feature hits data exposed in the Edit window can be exported to a
generic text file.
79
Using Advanced File Options
The STEP Export dialog box allows you to select additional options for your STEP
export.
The VDAFS Export dialog box allows you to select options for your VDAFS export. This
dialog box has the same options as the STEP Export dialog box. For information on
these options, see "Exporting a STEP File".
80
PC-DMIS 2017 R1 Core Manual
When you choose to export the file, a Datalog Export dialog box appears. Choose a
location to store the exported text file, and click Save. You can view the resulting file by
opening the file inside of a text editor such as Notepad.
After choosing a filename and clicking Export from the Open File dialog box, PC-DMIS
displays the DMIS Export Setup dialog box. This dialog box contains two tabs, the
General tab and the Error Log tab.
After choosing your options on these tabs, click OK to complete the export process.
81
Using Advanced File Options
General tab
The General tab lets you choose one of three methods to convert your PC-DMIS
measurement routine into a DMIS file.
PC-DMIS Edit Window (DMIS Mode) - This method exports a DMIS file exactly
as the measurement routine looks in the Edit window when you are in DMIS
mode.
Flexible DMIS - This method allows you to customize the exported file to match
your specific DMIS version, measurement methods, or supported DMIS
statements. When you select this option, a file selection box becomes enabled
that allows you to browse to and select a specific BASIC script file (*.bas
extension). You can create your own script file, or modify an existing script file to
control exactly what PC-DMIS should export.
PC-DMIS provides you with three ready-to-use .bas files that reside in your PC-
DMIS installation directory. These files customize your export so that it uses a
defined subset of supported DMIS statements for a specific DMIS version. The
files are PCD2DMIS030.BAS, PCD2DMIS040.BAS, and PCD2DMIS050.BAS (for
DMIS 3.0, 4.0, and 5.0 respectively). The commands which are not customized in
the .bas file are exported as they are in the PC-DMIS Edit Window (DMIS Mode)
HINT: If a function in the BASIC script returns an error when using this option,
then the exported file gets written as if you had selected the PC-DMIS Edit
Window (DMIS Mode) option above.
82
PC-DMIS 2017 R1 Core Manual
Legacy Postout - This method exports the file as it used to in older versions of
PC-DMIS. Before version 4.0, needed to set the DMISUsePostoutCode entry to
TRUE in the PC-DMIS Settings Editor to accomplish this. Now, you can simply
select this option.
The Error Log tab lets you view or save errors encountered during an export phase so
that you can correct them in your script file or take some other appropriate action. PC-
DMIS displays errors or warnings in these instances:
When a function in the BASIC script returns a logical error, meaning you have a
problem somewhere in your script that's causing an automation logic error. In this
case, the BASIC Script function returns a text string with this header: $$
LOGERR |.
When a parameter in a PC-DMIS command cannot be converted into DMIS
code. In this case, the BASIC Script function returns a text string with this
header:
$$ DMISERR |
Click the ... button to locate and select an existing text file to which PC-DMIS should
send the errors.
Click the Display log when export is complete check box to display the text file in a
text editor once PC-DMIS finishes the export process.
83
Using Advanced File Options
Exporting to Excel
PC-DMIS allows you to export your measurement routine's measurement data into a
Microsoft Excel (.xls) file. To do this select File | Export | Excel. PC-DMIS then displays
the PCD2Excel Wizard. You can also access this wizard from the Wizards toolbar.
Alternately, you can select File | Printing | Report Window Print Setup and mark the
Excel Output check box.
For more information, see the "Wizards Toolbar" topic in the "Using Toolbars" chapter
and the "Setting Output and Printer Options for the Report Window" topic in the "Using
Basic File Options" chapter.
Planner XML (*.planxml, *.xml) - PC-DMIS can import this default file type into
an open measurement routine. Planner can do the same into an open inspection
plan. In addition, third party applications can potentially parse and use the data
contained inside this widely-used tagged format. This is the format used by
Planner.
Planner IP File (*.ip) - Both PC-DMIS and the legacy PC-DMIS Planner can
import this older proprietary format. This is the format used by the legacy PC-
DMIS Planner.
You can then import the IP into a measurement routine (see "Importing an Inspection
Plan File") or load the plan into PC-DMIS Planner for further development.
84
PC-DMIS 2017 R1 Core Manual
From the Export Measurement Routine to XML dialog box, type or select a filename
from the list and click Save to complete the export process.
You may also find this menu option a useful solution to create a lightweight model for
things like quick fixtures and other components.
NOTE: A CAD mesh file is not an alternative for a true CAD model file. For example,
with a mesh file, you lose the ability for PC-DMIS to use Quick Features or to do one-
click Auto Feature selection.
Instead of translating CAD data into the internal CAD format of PC-DMIS, the Direct
CAD file types are accessed directly. That is, the CAD data of these file types remains
in its native format after being imported. Routines native to the CAD type are used for all
calculations done on the CAD data. Accessing the CAD data directly eliminates
problems that can occur because of translation inaccuracies or limitations.
ACIS
CATIA 5
85
Using Advanced File Options
NOTE: The following options must be enabled on your portlock to use them: CATIA V5
DCI, UG DCI, PRO-E DCI, and Solidworks DCI.
To perform these manipulations, select the Edit | Preferences | Import Options menu
item. This displays the Import Options dialog box.
This dialog box contains the Default Colors area as well as some check boxes.
Default Colors
This area lets you change the default colors for imported Points, Curves, Surfaces, and
Datum entity types. If the entity types don't already have a defined color, it uses this
default color. To change a color, simply click on a button in this area. A standard Color
dialog box appears, allowing you to select a new color.
86
PC-DMIS 2017 R1 Core Manual
When you import the next feature, PC-DMIS uses the newly defined colors.
Check Boxes
Keep Polylines
Selecting this check box allows the image to continue to display the original polyline
along with the points when you select the Explode polyline to points check box.
Clearing this check box only shows the series of points.
When you choose to execute some or all of your measurement routine by selecting File
| Execute or a menu item from the File | Partial Execution submenu, the Execution
dialog box opens. Also, if you don't have breakpoints in your measurement routine, PC-
DMIS displays a different layout of the screen display called the execution layout. This
layout initially hides the Edit window and expands the Graphic Display window, to show
87
Using Advanced File Options
more of the part. It also displays the Probe Readouts window. You can change what
windows appear during execution by pausing the execution and showing or hiding a
window. Subsequent executions use your updated execution layout.
When execution finishes, the screen layout returns to the learn time layout. Any window
you show or hide during learn time becomes part of the learn time layout.
HINT: Be aware when your measurement routine uses breakpoints, and the Edit
window is in Command mode. When you choose to execute, PC-DMIS continues to
display the Edit window during execution, but highlights the current command to
execute in red. If the Edit window is in Summary mode, with a breakpoint, PC-DMIS
shows a green highlight in the Edit window for already executed commands. Features in
yellow are about to be executed. Features undergoing execution are in blue. Non-
executed commands are in orange.
Execute
To execute all marked commands of the entire measurement routine, select the File |
Execute option.
88
PC-DMIS 2017 R1 Core Manual
Execute Feature
To execute only the feature on which the cursor rests, select the File | Partial
Execution | Execute Feature option.
If PC-DMIS is set to manual mode (mode = MANUAL), automatic machine motion does
not occur. Instead, PC-DMIS prompts you to move the machine to take the necessary
hits.
If PC-DMIS is set to DCC mode (mode = DCC), it automatically moves the probe based
on the parameters set in the dialog box.
WARNING: When you do this, the machine moves. To avoid injury, stay clear of the
machine. To avoid hardware damage, run the machine at a slower speed.
NOTE: To maintain good execution speeds, PC-DMIS does not generate a report in the
Report window if using the Execute Feature functionality. However, you can still view
report-like information inside the Status Window.
Execute From
To resume a previous cancelled execution, use the File | Partial Execution | Execute
From menu option. This command executes the feature listed until the end of the
measurement routine. This menu option is only available when you have canceled a
prior execute command by using the Execution dialog box.
HINT: If during a measurement routine execution, you click the Cancel button while
measuring feature CIR1, the Execute From menu becomes available so that you can
continue inspecting the part beginning at CIR1.
89
Using Advanced File Options
Execute Block
To execute a block of commands, select the commands you want to execute, and then
with the commands still selected, choose the File | Partial Execution | Execute Block
menu command. PC-DMIS will execute only the selected block of commands.
NOTE: Be aware when the current tip for that location in the measurement routine does
not match the current orientation of the probe head. The software does not execute the
previous tip command in order to change the tip orientation.
Mini Routines
Mini routines enable you to measure a selected dimension or group of dimensions from
a long measurement routine. Mini routines offer characteristic-based measurement and
the ability to measure a part of a complete measurement routine (such as operation-
based measurement).
Modes
ClearanceCube - This mode is the default mode. For this mode, it is essential to
have clearance cube present in the measurement routine.
If you select this mode, mini routines work only with ClearanceCube. If the
measurement routine is not created with ClearanceCube, the following message
appears when you click the Measure button in the Mini Routines dialog box:
PC-DMIS
90
PC-DMIS 2017 R1 Core Manual
HINT: With the ClearanceCube mode, to avoid collisions between the probe and
the part, mini routines work only when ClearanceCube motion is activated. For
help with using this feature, see "Using the ClearanceCube".
If you are licensed with the Portable option, then the clearance cube requirement
is waived. In this case, the measurements are expected to be done in Manual
mode, and there will be no collisions.
FBM - This mode is only available if your portlock is programmed with the
Feature Based Measurement module. Clearance cube is not required for this
mode. The measurement routine must be set up with Feature Based
Measurement so that no collisions occur when the selected features are
measured. For more information about Feature Based Measurement, see "Using
Feature Based Measurement".
To use mini routines, select File | Partial Execution | Mini Routines. The Mini
Routines dialog box appears. For example:
91
Using Advanced File Options
The Dimension (leftmost) pane displays the items (features, dimensions, and groups)
that are available in the measurement routine. The Mini Routine (rightmost) pane
displays the mini routines.
92
PC-DMIS 2017 R1 Core Manual
You can filter to find the items that you want to measure in your measurement routine.
The filtered items will display in the Dimension pane.
In the Search ID box, type the ID of the item that you want to find, and
then press Enter. You can also use meta characters in this box. For help,
see "Selecting Features Using Meta-Character Matching".
In the Filter by list, select a filtering option:
Filter by list
All Features and Dimensions - Displays the IDs of the features and
dimensions.
Marked - Displays the IDs of the features that are marked in the
measurement routine.
Unmarked - Displays the IDs of the features that are not marked in the
measurement routine.
Out of Tolerance - Displays the IDs of the features that are out of
tolerance.
93
Using Advanced File Options
NOTE: If you change the name of an item in the Edit window, PC-DMIS automatically
changes its name in the filtered list as well as in the mini routine.
1. In the Mini Routines list, click New Mini Routine. Or, right-click in the Mini
Routine pane and select New Mini Routine on the shortcut menu:
94
PC-DMIS 2017 R1 Core Manual
Export - Saves the tree structure for each mini routine in an .xml file, which you can
use with automation. A dialog box appears and prompts you for the name and
location of the file.
Show Execution Time - Displays the execution time in
<hours>:<minutes>:<seconds> to the right of the Entire Routine option, the mini
routine name, and the sub mini routine name.
Update Execution Time - This option is selected by default. If this option is
selected, the execution time will be updated every time it is executed. This
update function is available for the entire routine as well as for each separate
mini routine. If you do not want the time to be updated after every execution,
clear this option.
The Update Execution Time option is available when:
The Record and display execution time check box on the General tab in the
Setup Options dialog box is selected (for more information about the Record
and display execution time check box, see "Execution Area").
The Entire Routine option is selected.
A mini routine or sub mini routine is selected.
2. Click on the default name that appears, and type a name of your choosing.
3. To create another mini routine, click on the icon of any existing mini routine to
select it, and then select New Mini Routine. This places the mini routine at the
root level of the tree structure.
You can create a sub mini routine for a mini routine that has no items.
3. Click on the default name that appears, and type a name of your choosing.
1. In the filtered list in the Dimension pane, select each item that you want to add to
a mini routine or sub mini routine.
95
Using Advanced File Options
2. With Filter by set to Groups, select Expand All and then click on each item in a
group that you want to add to a mini routine or sub mini routine.
3. In the Mini Routine pane, click on the icon for the desired mini routine or sub mini
routine to select it.
4. Click >> to move the selected items from the Dimension pane to the selected
mini routine.
5. To save your changes to mini routines at any time, click Close. To discard your
changes to mini routines, click Cancel. The Mini Routines dialog box closes.
When you select the Close button to close the dialog box, PC-DMIS automatically
saves the mini routines as an .xml file with this naming convention:
This file is saved in the folder in which the measurement routine resides. When you
open the measurement routine, the data in the .xml file will display in the Mini Routines
dialog box.
IMPORTANT: If you send the measurement routine to another machine, you must
include the <name of measurement routine>.MiniRoutines.xml file in order to see the
mini routines on the other machine.
1. Click on the icon for the mini routine or sub mini routine to select it.
2. If you want to measure the mini routine with alignment dependencies, select the
With Alignment Dependencies check box. To measure them without alignment
dependencies, clear the check box.
96
PC-DMIS 2017 R1 Core Manual
HINT: The availability of the With Alignment Dependencies check box depends
on the setting for the MiniRoutineWithAlignDependencyEnabled registry
entry in the Settings Editor application. If the registry entry is enabled, the With
Alignment Dependencies check box is available. If the registry entry is disabled,
the check box is dimmed and unavailable to prevent unauthorized or unintentional
use.
Suppose that PC-DMIS has measured the part. The part has not moved
yet, and you want to re-measure certain features. You can measure the
mini routines and sub mini routines without measuring the alignment
features again.
Suppose that PC-DMIS has measured the part. You then notice that one
hole is dirty and you need to measure only the dimensions that are
associated with that hole. You can measure the dimensions with
alignment dependency because the part has moved and needs to be
realigned.
6. Click Measure. PC-DMIS closes the Mini Routines dialog box and displays the
Execution dialog box.
This example creates mini routines and sub mini routines for a part. The part is
manufactured in two operations: Operation 10 and Operation 20. Operation 10
manufactures the part in Station 1 and Station 2. This example assumes that a
measurement routine has been created to measure the entire part.
1. In the Mini Routine pane, find the items to measure in the measurement routine.
2. Create the mini routines and sub mini routines:
a. Select New Mini Routine. MiniRoutine1 appears.
b. Select New Mini Routine again. MiniRoutine2 appears.
c. Rename MiniRoutine1 to Op10, and MiniRoutine2 to Op20.
97
Using Advanced File Options
d. Select Op10 and then click New Sub Mini Routine. Op101 appears.
e. Select Op10 again and then click New Sub Mini Routine. Op102
appears.
f. Rename Op101 to Station 1, and Op102 to Station 2.
3. In the Dimension pane, select the items to measure.
4. Move the selected items to the Station 1 and Station 2 sub mini routines, and
the Op20 mini routine. For example:
Click Close. PC-DMIS saves the data as an .xml file in the folder in which the
measurement routine resides.
1. To execute the Op10 mini routine, select it and then click Measure. It will
measure the dimensions of the features manufactured in Operation 10.
98
PC-DMIS 2017 R1 Core Manual
2. To execute the Op20 mini routine, select it and then click Measure. It will
measure the dimensions of the features manufactured in Operation 20.
How It Works
When you execute your measurement routine, PC-DMIS prompts you to take the first hit
on the first feature. You can decide to take your first hit on a different feature instead.
When you do this, PC-DMIS determines if you took that hit within a tolerance of the hit
PC-DMIS expected. If your hit is more than a specified tolerance (usually 10 mm) away
from the feature, then PC-DMIS searches backwards and forwards though the
measurement routine for the closest feature who's initial hit matches the initial hit that
you took. You can define the tolerance in the Setup Options dialog box (Edit |
Preferences | Setup) on the General tab.
If you take a hit that is not in tolerance for any feature in your entire measurement
routine, the arm sounds a beep alert, and PC-DMIS ignores the hit. An error message
also appears in the Execution dialog box. Take a different hit closer to a measurement
routine feature to continue.
When PC-DMIS finds the appropriate feature, it passes your first hit into the feature. It
then moves the arrow indicating where to take the next hit to the new feature. PC-DMIS
only checks the tolerance on the first hit of the feature. After that, it assumes that you
will continue taking hits until you finish measuring that feature.
Once you finish measuring a feature out of order, PC-DMIS attempts to go back to its
initial order. It continues to prompt you to measure the original feature each time you
finish measuring something else out of order until you either skip the original feature or
measure it. PC-DMIS tracks the features you measure out of order so that they aren't
remeasured when PC-DMIS resumes its regular execution route.
99
Using Advanced File Options
If you remeasure a feature, PC-DMIS will recompute everything that uses that feature
up until the current execution location.
PC-DMIS always clears out the information in this list whenever you perform a full
measurement routine execution.
However, if you perform a partial execution (using execution menu items from the File |
Partial Execution sub menu), it does not clear out the execution list. For example, if
you perform a full execution, followed by a partial execution, the information from the full
execution will remain in your execution list and will show up in your report along with the
partial execution information.
If you don't want this, the File | Reset Execution List menu item immediately clears out
the execution list.
100
PC-DMIS 2017 R1 Core Manual
WARNING: When you do this, the machine moves. To avoid injury, stay clear of the
machine. To avoid hardware damage, run the machine at a slower speed.
Once the Execution dialog box appears, PC-DMIS attempts to execute all marked
commands in the current measurement routine.
If you are in Manual Mode, PC-DMIS requests that manually move the probe to
the feature and take hits with the probe.
If you are in DCC Mode, PC-DMIS automatically begins the measurement
process, moving to and probing each feature taking the needed number of hits.
These include any moves and hits for the current feature (the feature about to be
measured). These commands are only available if the measurement routine is
stopped during execution, from an error, from the operator, or if the execution
takes place in manual mode. If this takes place in DCC mode, you can resume the
measurement routine execution by highlighting the desired hit or move from the
NOTE: Suppose a clearance move command was programmed with the wrong X,
Y, or Z values. During the execution of that move, you might get a motion error. To
continue, you would do the following:
101
Using Advanced File Options
Erase Hit - Removes the currently highlighted hit in the Machine Commands list.
Most CMM jog boxes also have a button assigned to erasing the last hit. Pressing
that button on the CMM's jog box while in Execute mode, produces the same
result as clicking the Erase Hit button on the dialog box.
New Row - Starts a new row for the manual scan being executed (or learned).
Or
3. Click Continue .
4. PC-DMIS scans the new row.
You can choose the specific location within the current feature where the probe is
to resume measuring the part. The default location is displayed in the Machine
Commands list. To select another location, click the list and select the desired
line. PC-DMIS continues the measurement process at that location once you click
Continue.
NOTE: The software does not know why you chose to pause an execution.
Therefore, to safely resume a paused execution, check to ensure that the probe
has a clear lane of travel to its next point. A message appears to remind you to do
this in these circumstances:
102
PC-DMIS 2017 R1 Core Manual
The probe is outside the ClearanceCube but the first target position exists
within the ClearanceCube.
Anytime the first movement intersects with the ClearanceCube.
Stop - Halts the probe at its current position and suspends execution of the
measurement routine.
NOTE: This button does not stop the measurement routine execution if the current
move is a PH9 orientation change. The measurement routine stops after the PH9
stops.
Scan Done - Stops collecting data in a manual scan and processes the data for
finding nominals, vector compensation and so on.
As you execute the scan, data is gathered by PC-DMIS from the CMM.
Simultaneously, PC-DMIS filters (or reduces) the data according to the scan
method (Fixed Time, Fixed Distance, Fixed Time / Distance and so forth) you
provide. Data that does not satisfy the criteria (such as Fixed Time or Distance
increments) are excluded, and data that does satisfy the criteria are kept.
Step Next - Continues the measurement process by stepping through each new
command that moves the CMM.
This pauses the CMM between each step, requiring you to click Step Next to
continue stepping through the routine. This puts PC-DMIS into Step Mode. While
in Step Mode, you can insert hits into features and insert new features between
existing features or commands. If you insert a new feature, PC-DMIS displays a
dialog box allowing you to:
103
Using Advanced File Options
Step Next appears on the dialog box when PC-DMIS pauses execution for a
breakpoint (see "Using Breakpoints" in the "Editing a Measurement Routine"
chapter).
Skip - Skips the next command displayed in the Machine Commands list.
Commands that depend on the skipped command are also skipped.
This displays the Jump to Feature List dialog box. From this list, you can select
the next feature to execute and deviate from the automatically generated
execution path.
After you select a feature from the list, click OK, and PC-DMIS executes the
selected feature. After it finishes, it returns to the pre-defined path and attempts to
execute the next non-measured feature until you click Jump again and select a
new feature.
EXAMPLE: Suppose you have seven circles, labeled CIR1 through CIR7 and they
are programmed to execute in that order. If after CIR1, you click Jump and select
CIR6, PC-DMIS immediately measures CIR6. When finished, it returns and
measure circles CIR2 through CIR5, and then it finishes by measuring CIR7.
104
PC-DMIS 2017 R1 Core Manual
The percentage is derived from the amount of executed commands and hits taken
compared against the total number of marked commands and hits to take. The
progress bar updates as it progresses through the measurement routine. You may
find this useful when you have a large measurement routine and want a general
idea of how long it takes to complete.
NOTE: This functionality does not factor in individual scan hits or alterations to the
number of executed items due to flow control statements.
Machine Errors - Displays any errors that occur during execution of the
measurement routine.
Some possible errors are an unexpected probe hit or an unexpected end of move.
You can view the errors by clicking this list.
If the Add to execution time (seconds) check box in the Execution area is also
selected, PC-DMIS adds the number of seconds that are entered in the box to the
measurement routine or mini routine execution time when the execution finishes.
105
Using Advanced File Options
PC-DMIS records the remaining time for only the DCC portion of a measurement
routine.
PC-DMIS stops recording the remaining time when the measurement routine or
mini routine pauses due to attention required by the user. For example, the
execution may pause when a comment is executed, a message appears, or an
error appears and the execution stops.
PC-DMIS does not record the remaining time if the execution does not get
completed or if it is suspended (see Stop above).
Once you finish measuring the current feature in MANUAL mode, PC-DMIS then
automatically returns the system to DCC mode and continues to measure the part under
computer control. You can click the DCC mode icon to go back to DCC mode at any
time.
PC-DMIS does not replace the original hits with any of the new hits. If a measurement
value needs to be altered, it must be done in the Edit window.
NOTE: At the end of manual measurement of some auto features, the software may
prompt for you to save the new location of the feature as the target for future executions
of the measurement routine. If you click YES in response to this prompt, the software
saves the currently measured position as the new target.
1. Place the pointer on the outer edge of the dialog box. The arrow icon for the
pointer changes to a double arrow icon.
2. Drag the pointer to the desired location and release the mouse button to resize
the dialog box.
You may find this capability useful when you need a larger dialog box in order to read
the data better from a distance or if you want to use larger icons.
106