Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
Name Property
Description

Returns the measurement routine’s file name.

Property type
Read-only property
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