This section contains examples of PC-DMIS's Automation capability in action. We hope these examples make Automating PC-DMIS easier to use.
To get and share automation scripts submitted by PC-DMIS users, please visit our Custom Scripts Repository (you will need to register to access this page).
Waiting.zip
|
4k |
This file contains a sample PC-DMIS part program file and a sample BASIC script. These two files provide two different ways to cause PC-DMIS to wait for a certain amount of seconds before continuing part program execution.
The BASIC script runs in PC-DMIS 3.0 or later.
The Part Program file runs in PC-DMIS 3.5 or later.
See the enclosed ReadMe.txt for instructions. |
AllExcl.zip
|
1.97mb |
This Automation example moves dimension information from your currently active part program into a Microsoft Excel readable format. AllExcl.zip contains a setup program, source code, and instructions (in a ReadMe.txt file).
This program requires PC-DMIS version 2.3 or 3.0 and Microsoft Excel. It will not work in versions later than 3.0. Visit our Custom Scripts Repository for an updated script submitted by a user that outputs in later versions. |
| AllGUI.zip |
4.16mb |
This Automation example allows a supervisor to store up to fifteen part programs into a customizable Graphics User Interface (GUI). Part programs are executed when buttons associated with a part programs are pressed. AllGUI.zip contains a setup program, source code, and instructions (in a ReadMe.txt file). |
| Execute.zip |
3k |
This very simple Visual Basic sample program displays a dialog box with a button. When you click the button the following occurs:
- PC-DMIS launches and displays the initial Open dialog box, with your list of part programs.
- PC-DMIS automatically begins program execution for the selected program.
- The part program closes.
- PC-DMIS exits.
This program works with PC-DMIS 3.0 or later and requires Visual Basic 5.0 or later.
See the enclosed ReadMe.txt for instructions. |
| Featdata.zip |
16k |
This example demonstrates a script embedded in a Microsoft Excel worksheet. The script prompts you to open a part program, it then fills the worksheet with the centroid and vector data of all of the features in the part program.
This program requires Microsoft Excel 97 or later.
See the enclosed ReadMe.txt for instructions. |
| Outtol.zip |
2k |
This file contains a basic script that can be run from the PC-DMIS' Script and Macro toolbar. It counts and displays the number of dimensions that are out of tolerance and within tolerance in the current part program.
See the enclosed ReadMe.txt for instructions. |
| Edittols.zip |
2k |
This script changes all plus and minus tolerances by the value indicated.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |
| Featedit.zip |
3k |
This script changes feature IDs for specified feature types to a new ID.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |
| Flipvect.zip |
2k |
This script flips all your features vectors.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |
| Hidedet.zip |
2k |
This script sets the SHOWALLPARAMETERS command to NO, for sheet metal features.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |
| Showdet.zip |
2k |
This script sets the SHOWALLPARAMETERS command to YES, for sheet metal features.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |
| Markfet.zip |
2k |
This script marks all features of a specified type.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |
| Unmark.zip |
2k |
This script unmarks all features of a specified type.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |
| Setvals.zip |
3k |
This script allows you to change your part program's measured values to either match or randomly differ from your theoretical values.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |
| Normal.zip |
21k |
This file contains a modified Microsoft Word template (Normal.dot) which, through Microsoft Word, allows you to insert the inspection report into Microsoft Word using a format specified by the script.
This script runs in PC-DMIS 3.2 or later.
See the enclosed ReadMe.txt for instructions. |