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

Glossary Item Box

Description

Returns a string with the part's GUID (Globally Unique Identifier).

Syntax

Visual Basic
Public Property PartGuid As String

Return Type

Read only String value that contains the GUID.

Example

Example (Visual Basic)Copy Code
Sub Main (text As String)
Dim App As Object
Set App = CreateObject("PCDLRN.Application")
Dim Part As Object
Set Part = App.ActivePartProgram
MsgBox Part.PartGuid
End Sub

See Also

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