PC-DMIS 2022.1 Object Library
Add Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
Name
Required String. The file name in which to store the new PartProgram.
Units
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.
PCDLRN ActiveX DLL > PartPrograms Object : Add Method

Glossary Item Box

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

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.