Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.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.
Add Method
Description
The Add 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 Add( _
   ByVal Name As String, _
   ByVal Units As UNITTYPE, _
   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 
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