read Timestamps for PMIs

Hello everybody

I'm trying to get the timestamps of the PMIs. Do know a similar way to do it like (NXOpen.Features.Feature.Timestamp) for features? (This works only for features)

Thank you

PMI is like a dimension type object, not a feature. As such, it has no timestamp.

so there is no way to access/get the timestamp/number in brackets e.g. the 24 in
Angular Dimension (24) in the part navigator?

That identifier is known as the index.

Option Strict Off
Imports System
Imports NXOpen
Imports NXOpen.UF

Module Module1

Sub Main()

Dim theSession As Session = Session.GetSession()
If IsNothing(theSession.Parts.Work) Then
'active part required
Return
End If

Dim workPart As Part = theSession.Parts.Work
Dim lw As ListingWindow = theSession.ListingWindow
lw.Open()

lw.WriteLine("num PMIs: " & workPart.PmiManager.Pmis.ToArray.Length.ToString)
For Each myPmi As Annotations.Pmi In workPart.PmiManager.Pmis
lw.WriteLine("name: " & myPmi.Name)
lw.WriteLine("index: " & myPmi.Index.ToString)
'lw.WriteLine("journal identifier: " & myPmi.JournalIdentifier.ToString)

'create PMI builder to edit object
'check existing text
'change text
'etc etc

Next
lw.Close()

End Sub

Public Function GetUnloadOption(ByVal dummy As String) As Integer

'Unloads the image immediately after execution within NX
GetUnloadOption = NXOpen.Session.LibraryUnloadOption.Immediately

End Function

End Module

Thank you so much for the detailed answer.
exactly what i was looking for.