Is there an easy way (report or otherwise) to list all libraries used in a design?
report = Application.DefaultFilePath & "\Parts in libraries.rep"
Open report For Output As #1
Print #1, "Library locations for PartTypes in " & ActiveDocument.FullName
For Each part In ActiveDocument.PartTypes
Set items = GetLibraryItems(0, part.Name)
If Items.Count = 0 Then
Print #1, "NO LIBRARY PART FOR:"; " "; part.Name
ElseIf items.Count > 1 Then
Print #1, "MULTIPLE LOCATIONS:"
For Each item In items
Print #1, " " ;item.Library ; " ";item
Print #1, item.Library ; " ";item
Shell "Notepad " & report, 1
I dont think the library name will be attached to the decal once it is used in the layout ( unlike schematic), so we cannot extract the list of libraries used in the design.
I'm fine with this in schematic as opposed to layout. Is there a way of doing this in schematic?
AFAIK In DxDesigner there is no direct option to export this data, but i guess we can get this data by using scripts.
In PADS Logic, the same rule applies as PADS Layout
This works perfect, thank you!
Retrieving data ...