@jlceda/pro-api-types 0.1.66 → 0.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +21 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -595,7 +595,7 @@ declare class DMT_Schematic {
|
|
|
595
595
|
*/
|
|
596
596
|
getCurrentSchematicInfo(): Promise<IDMT_SchematicItem | undefined>;
|
|
597
597
|
/**
|
|
598
|
-
*
|
|
598
|
+
* 获取当前原��图图页的详细属性
|
|
599
599
|
*
|
|
600
600
|
* @beta
|
|
601
601
|
* @remarks 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
|
|
@@ -815,7 +815,7 @@ declare enum EDMT_EditorDocumentType {
|
|
|
815
815
|
PCB_3D_PREVIEW = 15,
|
|
816
816
|
/** 面板 */
|
|
817
817
|
PANEL = 26,
|
|
818
|
-
/**
|
|
818
|
+
/** 面板 3D 预览 */
|
|
819
819
|
PANEL_3D_PREVIEW = 27,
|
|
820
820
|
/** 元件符号 */
|
|
821
821
|
SYMBOL_COMPONENT = 2,
|
|
@@ -2416,7 +2416,7 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
|
|
|
2416
2416
|
private primitiveId?;
|
|
2417
2417
|
/** 关联库器件 */
|
|
2418
2418
|
private component;
|
|
2419
|
-
/**
|
|
2419
|
+
/** 关联库封装 */
|
|
2420
2420
|
private footprint?;
|
|
2421
2421
|
/** 层 */
|
|
2422
2422
|
private layer;
|
|
@@ -3002,7 +3002,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
|
|
|
3002
3002
|
*/
|
|
3003
3003
|
setState_Pad(pad: TPCB_PrimitivePadShape): IPCB_PrimitivePad;
|
|
3004
3004
|
/**
|
|
3005
|
-
*
|
|
3005
|
+
* 设���属性状态:网络
|
|
3006
3006
|
*
|
|
3007
3007
|
* @beta
|
|
3008
3008
|
* @remarks 本接口仅在 PCB 编辑器可用,空字符串与 `undefined` 均被视为空网络
|
|
@@ -4413,7 +4413,7 @@ declare class LIB_Classification {
|
|
|
4413
4413
|
* @param libraryUuid - 库 UUID
|
|
4414
4414
|
* @param libraryType - 库类型
|
|
4415
4415
|
* @param primaryClassificationUuid - 一级分类 UUID
|
|
4416
|
-
* @param secondaryClassificationUuid - 二级分类 UUID
|
|
4416
|
+
* @param secondaryClassificationUuid - 二级分类 UUID,如若不指定,则只获取一级分类的信息
|
|
4417
4417
|
* @returns 两级分类的名称
|
|
4418
4418
|
*/
|
|
4419
4419
|
getNameByUuid(libraryUuid: string, libraryType: ELIB_LibraryType, primaryClassificationUuid: string, secondaryClassificationUuid?: string): Promise<{
|
|
@@ -5792,8 +5792,22 @@ declare class PCB_Net {
|
|
|
5792
5792
|
* @returns 操作是否成功
|
|
5793
5793
|
*/
|
|
5794
5794
|
highlightNet(net: string): Promise<boolean>;
|
|
5795
|
-
|
|
5796
|
-
|
|
5795
|
+
/**
|
|
5796
|
+
* 获取网表
|
|
5797
|
+
*
|
|
5798
|
+
* @beta
|
|
5799
|
+
* @param type - 网表格式
|
|
5800
|
+
* @returns 网表数据,当 type 为 `JLCEDA` 或 `EasyEDA` 时,返回值为数组
|
|
5801
|
+
*/
|
|
5802
|
+
getNetlist(type?: ENetlistType): Promise<string | Array<string>>;
|
|
5803
|
+
/**
|
|
5804
|
+
* 更新网表
|
|
5805
|
+
*
|
|
5806
|
+
* @beta
|
|
5807
|
+
* @param type - 网表格式
|
|
5808
|
+
* @param netlist - 网表数据
|
|
5809
|
+
*/
|
|
5810
|
+
setNetlist(type: ENetlistType | undefined, netlist: string): Promise<boolean>;
|
|
5797
5811
|
}
|
|
5798
5812
|
|
|
5799
5813
|
/**
|