eda_lib_device_get_by_lcsc_ids
Retrieve components by LCSC C numbers from your EasyEDA library. Returns the first match by default; enable allowMultiMatch to get all matching devices.
Instructions
lib_Device.getByLcscIds(lcscIds: string, libraryUuid?: string, allowMultiMatch?: T) -> Promise<T extends true ? ILIB_DeviceSearchItem | undefined : Array> 使用立创 C 编号获取器件 remarks: 默认情况下,如果在同一个库内匹配到多个相同 C 编号的器件,将只会返回第一个结果;
如果希望返回多个结果,请将 allowMultiMatch 置为 true;
私有化部署环境暂无法使用本接口 returns: 搜索到的器件属性
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |