

IIntegratedLibraryManager interface BrowseForComponentAndPart method IntMan.BrowseForDatafile(AFootprintName, LibraryPath, Librarypath,ModelType, True) This BrowseForDataFile procedure invokes the Browse Libraries dialog.Įxample LibraryPath := 'C:\Program Files\Altium NEXUS Summer 08\Library\Xilinx\Xilinx Spartan-3E.IntLib' Procedure BrowseForDatafile (AModelName : PChar AModelPath : PChar LibPath : PChar ModelType : PChar ForComponentInstance : LongBool) ShowMessage(IntToStr(IntMan.AvailableLibrar圜ount)) ĪvailableLibraryType method BrowseForDatafile method Note, the first installed library in the Available Libraries dialog is indexed zero (0). The AvailableLibrar圜ount function determines the number of available libraries. IIntegratedLibraryManager interface AvailableLibrar圜ount methodįunction AvailableLibrar圜ount : Integer ShowMessage(IntMan.AvailableLibraryPath(0)) The AvailableLibraryPath function retrieves the file path of the indexed library in the Available Libraries dialog. TLibraryType type AvailableLibraryPath methodįunction AvailableLibraryPath (LibraryIndex : Integer) : WideString LibType := IntMan.AvailableLibraryType(0) ĮLibIntegrated : ShowMessage('Integrated') ĮLibDatafile : ShowMessage('Lib data File') ĮLibDesignItems : ShowMessage('Design Items') TLibraryType = (eLibIntegrated, eLibSource, eLibDatafile, eLibDatabase, eLibNone, eLibQuery, eLibDesignItems)

Note, the first installed library in the Available Libraries dialog is indexed zero (0).Īn available library is one of the libraries on the Installed, Project and Search path tabs within the Available Libraries dialog.Īn installed library appears in the Installed tab of the Available Libraries dialog.


The AvailableLibraryType function determines what type the indexed library is. IIntegratedLibraryManager interface AvailableLibraryType methodįunction AvailableLibraryType (LibraryIndex : Integer) : TLibraryType This method invokes the Available Libraries dialog with a list of installed libraries if any and their activated, path and type values.Įxample IntMan := IntegratedLibraryManager Integrated Library Manager Methods AddRemoveLibraries method Integrated Library Manager Methods and Properties Table IIntegratedLibraryManager methodsĮxamples\Scripts\DXP_Scripts\ folder of Altium NEXUS installation Invoke the IntegratedLibraryManager function to fetch the IIntegratedLibraryManager interface. The IIntegratedLibraryManager interface represents the integrated library manager that manages schematic components and its models from installed libraries in Altium NEXUS. The Integrated Library API Manager Interfaces Reference includes the following sections and content: IIntegratedLibraryManager Interface Integrated Library API: Manager Interfaces While many of the principles and approaches will remain the same, be aware that interfaces, objects, methods, properties, and the like will have changed since then, and will not reflect the entirety of those found in later versions of the software. Please note that this documentation was last updated for an older version of Altium NEXUS.
