PC-DMIS 2022.1 Object Library
Open Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
FileName
Required String. The file name of the PartProgram to open.
MachineName
Required String. This is the identifying string for your machine. If you're running in offline mode, use "Offline". If you're running in online mode use "CMM1".
PCDLRN ActiveX DLL > PartPrograms Object : Open Method

Glossary Item Box

Description

The Open function activates the measurement routine stored in the file FileName. If the file does not exist, nothing happens.

Syntax

Visual Basic
Public Function Open( _
   ByVal FileName As String, _
   ByVal MachineName As String _
) As PartProgram

Parameters

FileName
Required String. The file name of the PartProgram to open.
MachineName
Required String. This is the identifying string for your machine. If you're running in offline mode, use "Offline". If you're running in online mode use "CMM1".

Return Type

PartProgram object.

See Also

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