PC-DMIS 2019 R2 Object Library
OutputFileName Property
See Also  Example  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > PartProgram Object : OutputFileName Property

Glossary Item Box

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.

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.
Example (Visual Basic)Copy Code
activePartProgram = App.ActivepartProgram
Dim strFileName As String
strFileName = activePartProgram.OutputFileName
MsgBox "The output file is " & strFileName

See Also

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