Skip to content

Latest commit

 

History

History
167 lines (102 loc) · 3.91 KB

File metadata and controls

167 lines (102 loc) · 3.91 KB

ILIB_ExtendLibraryDeviceFunctions interface

外部库器件方法

Signature

interface ILIB_ExtendLibraryDeviceFunctions extends ILIB_ExtendLibraryFunctions 

Extends: ILIB_ExtendLibraryFunctions

Properties

Property

Modifiers

Type

Description

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>>

获取支持的符号类型


属性详情

getlist

ILIB_ExtendLibraryDeviceFunctions.getList property

Signature

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

ILIB_ExtendLibraryDeviceFunctions.getSupportedPreviewTypes property

获取支持的预览类型

Signature

getSupportedPreviewTypes: () => Promise<Array<ELIB_PreviewType>>;

getsupportedsymboltypes

ILIB_ExtendLibraryDeviceFunctions.getSupportedSymbolTypes property

获取支持的符号类型

Signature

getSupportedSymbolTypes: () => Promise<Array<ELIB_SymbolType>>;