PC-Dmis 2010 MR3 Object Library | Send comments on this topic. | See Object Hierarchy Chart
Open Method
See Also

Collapse All Expand All

FileName
  Required String. The file name of the PartProgram to open.

MachineName
  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".

# Description

Opens an existing part program and adds it to the partprograms collection The Open function activates the part program 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. The identifying string for your machine. If you're running in offline mode, use "Offline". If you're running in online mode use "CMM1".

# See Also

PartPrograms Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.