外部库器件方法
interface ILIB_ExtendLibraryDeviceFunctions extends ILIB_ExtendLibraryFunctions Extends: ILIB_ExtendLibraryFunctions
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(props: ILIB_ExtendLibrarySearchProperty<{ attributes?: { [key: string]: string; }; symbolType?: ELIB_SymbolType; }>) => Promise<ILIB_ExtendLibrarySearchResult<ILIB_ExtendLibraryItemIndex & { classification?: ILIB_ExtendLibraryClassificationIndex | Array<string>; symbol?: ILIB_ExtendLibraryItem & { symbolType: ELIB_SymbolType; }; footprint?: ILIB_ExtendLibraryItem; model3d?: ILIB_ExtendLibraryItemIndex & { adjustment?: { size?: { x: number; y: number; z: number; }; rotation?: { x: number; y: number; z: number; }; offset?: { x: number; y: number; z: number; }; }; }; value?: string; supplierPart?: string; manufacturer?: string; description?: string; updateTime?: number; createTime?: number; attributes?: { [key: string]: string; }; }>> | |||
|
() => Promise<Array<ELIB_PreviewType>> |
获取支持的预览类型 | ||
|
() => Promise<Array<ELIB_SymbolType>> |
获取支持的符号类型 |
getList: (props: ILIB_ExtendLibrarySearchProperty<{
attributes?: {
[key: string]: string;
};
symbolType?: ELIB_SymbolType;
}>) => Promise<ILIB_ExtendLibrarySearchResult<ILIB_ExtendLibraryItemIndex & {
classification?: ILIB_ExtendLibraryClassificationIndex | Array<string>;
symbol?: ILIB_ExtendLibraryItem & {
symbolType: ELIB_SymbolType;
};
footprint?: ILIB_ExtendLibraryItem;
model3d?: ILIB_ExtendLibraryItemIndex & {
adjustment?: {
size?: {
x: number;
y: number;
z: number;
};
rotation?: {
x: number;
y: number;
z: number;
};
offset?: {
x: number;
y: number;
z: number;
};
};
};
value?: string;
supplierPart?: string;
manufacturer?: string;
description?: string;
updateTime?: number;
createTime?: number;
attributes?: {
[key: string]: string;
};
}>>;获取支持的预览类型
getSupportedPreviewTypes: () => Promise<Array<ELIB_PreviewType>>;获取支持的符号类型
getSupportedSymbolTypes: () => Promise<Array<ELIB_SymbolType>>;