Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
PCDLRN ActiveX DLL > PartProgram Object : OutputFileName Property
OutputFileName Property
Description

When you generate a saved output file with the Edit window PRINT Command, PC-DMIS stores that file in a directory of your choice.

This property returns a string of the file name used by the part program.

Property type
Read-only property
Syntax
Visual Basic
Public Property OutputFileName As String
Return Type
String value with the output file name.
Example
This example gets the output file name and stores it in a variable named strFileName. It then displays that variable in a message box.
activePartProgram = App.ActivepartProgram
Dim strFileName As String
strFileName = activePartProgram.OutputFileName
MsgBox "The output file is " & strFileName
See Also