Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
Required String. The file name in which to store the new PartProgram.
Required UNITTYPE enumeration.
Required String. The identifying string for your machine. If you're running in offline mode, use "Offline". If you're running in online mode use "CMM1".
Required String. The identifying string for the probe (.prb) file to use in the measurement routine.
Add2 Method
Description
The Add2 function creates a new measurement routine and activates it in PC-DMIS. If a measurement routine named FileName exists, it is loaded and the Units parameter is ignored.
Syntax
Visual Basic
Public Function Add2( _
   ByVal Name As String, _
   ByVal Units As UNITTYPE, _
   ByVal STANDARD As GDTTYPE, _
   ByVal Machine As String, _
   ByVal ProbeFile As String _
) As PartProgram
Parameters
Name
Required String. The file name in which to store the new PartProgram.
Units
ValueDescription
INCH 
MM 
STANDARD
ValueDescription
ASME_Y14_5 
ISO_1101 
Required UNITTYPE enumeration.
Machine
Required String. The identifying string for your machine. If you're running in offline mode, use "Offline". If you're running in online mode use "CMM1".
ProbeFile
Required String. The identifying string for the probe (.prb) file to use in the measurement routine.
Return Type
PartProgram object.
See Also