PC-DMIS 2021.1 Object Library
Name Property
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > PartProgram Object : Name Property

Glossary Item Box

Description

Returns the measurement routine’s file name.

Syntax

Visual Basic
Public Property Name As String

Return Type

Read only String value.

Remarks

If the file name of the measurement routine is C:\PCDMISW\PARTS\1.PRG, the Name returns "1.PRG".

Example

Sub Main (strText As String)

Dim App As Object

Set App = CreateObject ("PCDLRN.Application")

Dim Part As Object

Set Part = App.ActivePartProgram

MsgBox Part.Name

End Sub

See Also

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