1 Reply Latest reply on Oct 10, 2014 7:20 AM by bradu

    Script to Retrieve Timestamp for Each Decal in PADS Layout Project

    nicola.fiorucci

      Hi,

      how can i retrieve the TimeStamp for each decal using automation language for my project in PADS Layout?

       

      Thanks

        • 1. Re: SCRIPT TO RETRIEVE TIMESTAMP FOR EACH DECAL IN PADS LAYOUT PROJECT
          bradu

          How about this? It prints to debug console but you can redirect it to a file if you wish so.

          For Each Decal In Application.ActiveDocument.Decals
              Set ditem = Application.GetLibraryItems(ppcbLibraryItemTypeDecal, Decal.Name)
              If ditem.Count <> 0  Then 
                  Debug.Print Decal.Name & "    " & ditem(1).TimeStamp
              Else
                  Debug.Print Decal.Name & "    not found in lib"
              End If
          Next Decal