Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > PartProgram Object : PartGuid Property
PartGuid Property
Description
Returns a string with the part's GUID (Globally Unique Identifier).
Property type
Read-write property
Syntax
Visual Basic
Public Property PartGuid As String
Return Type
Read only String value that contains the GUID.
Example
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