Skip to main content
View as Markdown

ILibraryInterface interface

No description yet.

public interface ILibraryInterface

Namespace: EDP · Assembly: Altium.SDK.Interfaces

Methods​

MethodReturnsDescription
BrowseComponentbool
BrowseDeviceSheetbool
BrowseDeviceSheetRevisionbool
BrowseSymbolbool
BrowseSymbolRevisionbool
FindComponentDesignItemDeviceSheetbool
FindComponentDisplayPathstring
FindComponentLibraryPathstring
FindComponentSymbolbool
FindDeviceSheetByFileNamebool
FindLibraryInformationbool
FindModelLibraryPathstring
GetComponentPlacementParametersstring
GetDeviceSheetFullPathstring
GetLifeCycleStatestring
GetOrderedRevisionListbool
GetSourceRelationshipsAsStringstring
IsEDMSLibrarybool
IsPathToDesignItemDeviceSheetbool
PlaceHWPartIntoPCBbool
PlaceHWPartIntoSchematicbool

BrowseComponent​

No description yet.

bool BrowseComponent(TLibIdentifierKind argLibIdentifierKind, ref string argLibraryIdentifier, ref string argDesignItemID, ref int argPartID, out string argSymbolReference, out string argSymbolLibraryPath, ref string argModelName, string argModelType, out string argModelLibraryPath);
bool BrowseComponent(int argLibIdentifierKind, ref string argLibraryIdentifier, ref string argDesignItemID, ref int argPartID, out string argSymbolReference, out string argSymbolLibraryPath, ref string argModelName, string argModelType, out string argModelLibraryPath);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringref
argDesignItemIDstringref
argPartIDintref
argSymbolReferencestringout
argSymbolLibraryPathstringout
argModelNamestringref
argModelTypestringvalue
argModelLibraryPathstringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

BrowseDeviceSheet​

No description yet.

bool BrowseDeviceSheet(TLibIdentifierKind argLibIdentifierKind, ref string argLibraryIdentifier, ref string argDesignItemID, out string argSymbolReference, out string argSymbolLibraryPath);
bool BrowseDeviceSheet(int argLibIdentifierKind, ref string argLibraryIdentifier, ref string argDesignItemID, out string argSymbolReference, out string argSymbolLibraryPath);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringref
argDesignItemIDstringref
argSymbolReferencestringout
argSymbolLibraryPathstringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

BrowseDeviceSheetRevision​

No description yet.

bool BrowseDeviceSheetRevision(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, ref string argDesignItemID, out string argSymbolReference, out string argSymbolLibraryPath, out string argRevisionStatus);
bool BrowseDeviceSheetRevision(int argLibIdentifierKind, string argLibraryIdentifier, ref string argDesignItemID, out string argSymbolReference, out string argSymbolLibraryPath, out string argRevisionStatus);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringref
argSymbolReferencestringout
argSymbolLibraryPathstringout
argRevisionStatusstringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

BrowseSymbol​

No description yet.

bool BrowseSymbol(TLibIdentifierKind argLibIdentifierKind, ref string argLibraryIdentifier, ref string argDesignItemID, out string argSymbolReference, out string argSymbolLibraryPath);
bool BrowseSymbol(int argLibIdentifierKind, ref string argLibraryIdentifier, ref string argDesignItemID, out string argSymbolReference, out string argSymbolLibraryPath);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringref
argDesignItemIDstringref
argSymbolReferencestringout
argSymbolLibraryPathstringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

BrowseSymbolRevision​

No description yet.

bool BrowseSymbolRevision(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, ref string argDesignItemID, out string argSymbolReference, out string argSymbolLibraryPath, out string argRevisionStatus);
bool BrowseSymbolRevision(int argLibIdentifierKind, string argLibraryIdentifier, ref string argDesignItemID, out string argSymbolReference, out string argSymbolLibraryPath, out string argRevisionStatus);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringref
argSymbolReferencestringout
argSymbolLibraryPathstringout
argRevisionStatusstringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

FindComponentDesignItemDeviceSheet​

No description yet.

bool FindComponentDesignItemDeviceSheet(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, out string argDeviceSheetPath);
bool FindComponentDesignItemDeviceSheet(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, out string argDeviceSheetPath);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue
argDeviceSheetPathstringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

FindComponentDisplayPath​

No description yet.

string FindComponentDisplayPath(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID);
string FindComponentDisplayPath(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue

Returns: string

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

FindComponentLibraryPath​

No description yet.

string FindComponentLibraryPath(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID);
string FindComponentLibraryPath(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue

Returns: string

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

FindComponentSymbol​

No description yet.

bool FindComponentSymbol(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, out string argSymbolLibraryPath, out string argSymbolReference);
bool FindComponentSymbol(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, out string argSymbolLibraryPath, out string argSymbolReference);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue
argSymbolLibraryPathstringout
argSymbolReferencestringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

Examples: Ciiva

FindDeviceSheetByFileName​

No description yet.

bool FindDeviceSheetByFileName(string argFileName, out string argDesignItemID, out string argLibraryIdentifier);
ParameterTypePassing
argFileNamestringvalue
argDesignItemIDstringout
argLibraryIdentifierstringout

Returns: bool

FindLibraryInformation​

No description yet.

bool FindLibraryInformation(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, out string argLibraryPath, out string argDBTableName);
bool FindLibraryInformation(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, out string argLibraryPath, out string argDBTableName);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue
argLibraryPathstringout
argDBTableNamestringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

FindModelLibraryPath​

No description yet.

string FindModelLibraryPath(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, string argModelName, string argModelType);
string FindModelLibraryPath(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, string argModelName, string argModelType);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue
argModelNamestringvalue
argModelTypestringvalue

Returns: string

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

GetComponentPlacementParameters​

No description yet.

string GetComponentPlacementParameters(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID);
string GetComponentPlacementParameters(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue

Returns: string

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

GetDeviceSheetFullPath​

No description yet.

string GetDeviceSheetFullPath(string argDesignItemID, string argLibraryIdentifier, string argCachedFileName);
ParameterTypePassing
argDesignItemIDstringvalue
argLibraryIdentifierstringvalue
argCachedFileNamestringvalue

Returns: string

GetLifeCycleState​

No description yet.

string GetLifeCycleState(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID);
string GetLifeCycleState(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue

Returns: string

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

GetOrderedRevisionList​

No description yet.

bool GetOrderedRevisionList(TLibIdentifierKind argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, out string argCommaTextList);
bool GetOrderedRevisionList(int argLibIdentifierKind, string argLibraryIdentifier, string argDesignItemID, out string argCommaTextList);
ParameterTypePassing
argLibIdentifierKindTLibIdentifierKindvalue
argLibraryIdentifierstringvalue
argDesignItemIDstringvalue
argCommaTextListstringout

Returns: bool

The first overload is an extension method of ILibraryInterfaceHelper (using EDP;) with typed parameters; the second is declared by the interface.

GetSourceRelationshipsAsString​

No description yet.

string GetSourceRelationshipsAsString(string argDesignItemID);
ParameterTypePassing
argDesignItemIDstringvalue

Returns: string

IsEDMSLibrary​

No description yet.

bool IsEDMSLibrary(string argLibraryIdentifier);
ParameterTypePassing
argLibraryIdentifierstringvalue

Returns: bool

IsPathToDesignItemDeviceSheet​

No description yet.

bool IsPathToDesignItemDeviceSheet(string argFullPath);
ParameterTypePassing
argFullPathstringvalue

Returns: bool

PlaceHWPartIntoPCB​

No description yet.

bool PlaceHWPartIntoPCB(string argVaultGUID, string argItemGUID, string argRevisionGUID);
ParameterTypePassing
argVaultGUIDstringvalue
argItemGUIDstringvalue
argRevisionGUIDstringvalue

Returns: bool

PlaceHWPartIntoSchematic​

No description yet.

bool PlaceHWPartIntoSchematic(string argVaultGUID, string argItemGUID, string argRevisionGUID, string argParams);
ParameterTypePassing
argVaultGUIDstringvalue
argItemGUIDstringvalue
argRevisionGUIDstringvalue
argParamsstringvalue

Returns: bool

Examples​

Used in the SDK examples: Ciiva.