PartMatcherSearchMpnsInLibrary(IPluginPartLibrary, ListPartIdentifier) Method

Search MPNs in selected library. MPN is the primary key. If there are multiple parts with the same MPN in the library, the results are filtered by the specified manufacturer. If no matches are obtained, all results with the searched MPN are returned.

Definition

Namespace: PCBI_PartMatcher.Public
Assembly: PCBI.API_Library (in PCBI.API_Library.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public Task<Dictionary<PartIdentifier, IPartLibraryEntry>> SearchMpnsInLibrary(
	IPluginPartLibrary selectedLibrary,
	List<PartIdentifier> searchMpns
)

Parameters

selectedLibrary  IPluginPartLibrary
Library to search MPNs
searchMpns  ListPartIdentifier
List of MPNs/Manufacturers to search in Library

Return Value

TaskDictionaryPartIdentifier, IPartLibraryEntry
Dictionary of all found parts by identifier

See Also