@jlceda/pro-api-types 0.1.99 → 0.1.100
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 +65 -48
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -416,7 +416,7 @@ declare class DMT_Project {
|
|
|
416
416
|
* @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
|
|
417
417
|
* @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
|
|
418
418
|
* @param description - 工程描述
|
|
419
|
-
* @param collaborationMode -
|
|
419
|
+
* @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
|
|
420
420
|
* @returns 工程 UUID,如若为 `undefined` 则创建失败
|
|
421
421
|
*/
|
|
422
422
|
createProject(projectFriendlyName: string, projectName?: string, teamUuid?: string, folderUuid?: string, description?: string, collaborationMode?: EDMT_ProjectCollaborationMode): Promise<string | undefined>;
|
|
@@ -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 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
|
|
@@ -2707,6 +2707,8 @@ declare class IPCB_PrimitiveArc implements IPCB_Primitive {
|
|
|
2707
2707
|
* @returns 圆弧线图元对象
|
|
2708
2708
|
*/
|
|
2709
2709
|
done(): Promise<IPCB_PrimitiveArc>;
|
|
2710
|
+
/* Excluded from this release type: getAdjacentPrimitives */
|
|
2711
|
+
/* Excluded from this release type: getEntireTrack */
|
|
2710
2712
|
}
|
|
2711
2713
|
|
|
2712
2714
|
/**
|
|
@@ -3394,7 +3396,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
|
|
|
3394
3396
|
}
|
|
3395
3397
|
|
|
3396
3398
|
/**
|
|
3397
|
-
*
|
|
3399
|
+
* 直线图元
|
|
3398
3400
|
*
|
|
3399
3401
|
* @public
|
|
3400
3402
|
*/
|
|
@@ -3498,7 +3500,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3498
3500
|
*
|
|
3499
3501
|
* @beta
|
|
3500
3502
|
* @param net - 网络名称
|
|
3501
|
-
* @returns
|
|
3503
|
+
* @returns 直线图元对象
|
|
3502
3504
|
*/
|
|
3503
3505
|
setState_Net(net: string): IPCB_PrimitiveLine;
|
|
3504
3506
|
/**
|
|
@@ -3506,7 +3508,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3506
3508
|
*
|
|
3507
3509
|
* @beta
|
|
3508
3510
|
* @param layer - 层
|
|
3509
|
-
* @returns
|
|
3511
|
+
* @returns 直线图元对象
|
|
3510
3512
|
*/
|
|
3511
3513
|
setState_Layer(layer: TPCB_LayersOfLine): IPCB_PrimitiveLine;
|
|
3512
3514
|
/**
|
|
@@ -3514,7 +3516,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3514
3516
|
*
|
|
3515
3517
|
* @beta
|
|
3516
3518
|
* @param startX - 起始位置 X
|
|
3517
|
-
* @returns
|
|
3519
|
+
* @returns 直线图元对象
|
|
3518
3520
|
*/
|
|
3519
3521
|
setState_StartX(startX: number): IPCB_PrimitiveLine;
|
|
3520
3522
|
/**
|
|
@@ -3522,7 +3524,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3522
3524
|
*
|
|
3523
3525
|
* @beta
|
|
3524
3526
|
* @param startY - 起始位置 Y
|
|
3525
|
-
* @returns
|
|
3527
|
+
* @returns 直线图元对象
|
|
3526
3528
|
*/
|
|
3527
3529
|
setState_StartY(startY: number): IPCB_PrimitiveLine;
|
|
3528
3530
|
/**
|
|
@@ -3530,7 +3532,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3530
3532
|
*
|
|
3531
3533
|
* @beta
|
|
3532
3534
|
* @param endX - 终止位置 X
|
|
3533
|
-
* @returns
|
|
3535
|
+
* @returns 直线图元对象
|
|
3534
3536
|
*/
|
|
3535
3537
|
setState_EndX(endX: number): IPCB_PrimitiveLine;
|
|
3536
3538
|
/**
|
|
@@ -3538,7 +3540,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3538
3540
|
*
|
|
3539
3541
|
* @beta
|
|
3540
3542
|
* @param endY - 终止位置 Y
|
|
3541
|
-
* @returns
|
|
3543
|
+
* @returns 直线图元对象
|
|
3542
3544
|
*/
|
|
3543
3545
|
setState_EndY(endY: number): IPCB_PrimitiveLine;
|
|
3544
3546
|
/**
|
|
@@ -3546,7 +3548,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3546
3548
|
*
|
|
3547
3549
|
* @beta
|
|
3548
3550
|
* @param lineWidth - 线宽
|
|
3549
|
-
* @returns
|
|
3551
|
+
* @returns 直线图元对象
|
|
3550
3552
|
*/
|
|
3551
3553
|
setState_LineWidth(lineWidth: number): IPCB_PrimitiveLine;
|
|
3552
3554
|
/**
|
|
@@ -3554,21 +3556,21 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3554
3556
|
*
|
|
3555
3557
|
* @beta
|
|
3556
3558
|
* @param primitiveLock - 是否锁定
|
|
3557
|
-
* @returns
|
|
3559
|
+
* @returns 直线图元对象
|
|
3558
3560
|
*/
|
|
3559
3561
|
setState_PrimitiveLock(primitiveLock: boolean): IPCB_PrimitiveLine;
|
|
3560
3562
|
/**
|
|
3561
3563
|
* 将图元转换为异步图元
|
|
3562
3564
|
*
|
|
3563
3565
|
* @public
|
|
3564
|
-
* @returns
|
|
3566
|
+
* @returns 直线图元对象
|
|
3565
3567
|
*/
|
|
3566
3568
|
toAsync(): IPCB_PrimitiveLine;
|
|
3567
3569
|
/**
|
|
3568
3570
|
* 将图元转换为同步图元
|
|
3569
3571
|
*
|
|
3570
3572
|
* @public
|
|
3571
|
-
* @returns
|
|
3573
|
+
* @returns 直线图元对象
|
|
3572
3574
|
*/
|
|
3573
3575
|
toSync(): IPCB_PrimitiveLine;
|
|
3574
3576
|
/**
|
|
@@ -3582,16 +3584,18 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3582
3584
|
* 将异步图元重置为当前画布状态
|
|
3583
3585
|
*
|
|
3584
3586
|
* @beta
|
|
3585
|
-
* @returns
|
|
3587
|
+
* @returns 直线图元对象
|
|
3586
3588
|
*/
|
|
3587
3589
|
reset(): Promise<IPCB_PrimitiveLine>;
|
|
3588
3590
|
/**
|
|
3589
3591
|
* 将对图元的更改应用到画布
|
|
3590
3592
|
*
|
|
3591
3593
|
* @beta
|
|
3592
|
-
* @returns
|
|
3594
|
+
* @returns 直线图元对象
|
|
3593
3595
|
*/
|
|
3594
3596
|
done(): Promise<IPCB_PrimitiveLine>;
|
|
3597
|
+
/* Excluded from this release type: getAdjacentPrimitives */
|
|
3598
|
+
/* Excluded from this release type: getEntireTrack */
|
|
3595
3599
|
}
|
|
3596
3600
|
|
|
3597
3601
|
/**
|
|
@@ -4174,7 +4178,7 @@ declare class IPCB_PrimitivePour implements IPCB_Primitive {
|
|
|
4174
4178
|
private layer;
|
|
4175
4179
|
/** 复杂多边形 */
|
|
4176
4180
|
private complexPolygon;
|
|
4177
|
-
/**
|
|
4181
|
+
/** 覆铜填充方法 */
|
|
4178
4182
|
private pourFillMethod;
|
|
4179
4183
|
/** 是否保留孤岛 */
|
|
4180
4184
|
private preserveSilos;
|
|
@@ -4769,6 +4773,7 @@ declare class IPCB_PrimitiveVia implements IPCB_Primitive {
|
|
|
4769
4773
|
* @returns 过孔图元对象
|
|
4770
4774
|
*/
|
|
4771
4775
|
done(): Promise<IPCB_PrimitiveVia>;
|
|
4776
|
+
/* Excluded from this release type: getAdjacentPrimitives */
|
|
4772
4777
|
}
|
|
4773
4778
|
|
|
4774
4779
|
/**
|
|
@@ -5950,7 +5955,7 @@ declare class LIB_3DModel {
|
|
|
5950
5955
|
*
|
|
5951
5956
|
* @beta
|
|
5952
5957
|
* @param modelUuid - 3D 模型 UUID
|
|
5953
|
-
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList}
|
|
5958
|
+
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
5954
5959
|
* @returns 操作是否成功
|
|
5955
5960
|
*/
|
|
5956
5961
|
delete(modelUuid: string, libraryUuid: string): Promise<boolean>;
|
|
@@ -6636,14 +6641,24 @@ declare class PCB_Document {
|
|
|
6636
6641
|
*/
|
|
6637
6642
|
importChanges(uuid: string): Promise<boolean>;
|
|
6638
6643
|
/**
|
|
6639
|
-
*
|
|
6644
|
+
* 导入旧版自动布线文件(JSON)
|
|
6640
6645
|
*
|
|
6641
6646
|
* @beta
|
|
6642
6647
|
* @remarks 可以使用 {@link SYS_FileSystem.openReadFileDialog} 读入文件
|
|
6643
6648
|
* @param autoRouteFile - 欲导入的 JSON 文件
|
|
6644
6649
|
* @returns 导入操作是否成功
|
|
6645
6650
|
*/
|
|
6646
|
-
|
|
6651
|
+
importOldAutoRouteJsonFile(autoRouteFile: File): Promise<boolean>;
|
|
6652
|
+
/**
|
|
6653
|
+
* 导入旧版自动布局文件(JSON)
|
|
6654
|
+
*
|
|
6655
|
+
* @beta
|
|
6656
|
+
* @remarks 可以使用 {@link SYS_FileSystem.openReadFileDialog} 读入文件
|
|
6657
|
+
* @deprecated 建议使用 {@link PCB_ManufactureData.getAutoLayoutJsonFile} 接口提供的自动布线文件,它对应 {@link PCB_Document.importAutoLayoutJsonFile} 导入接口
|
|
6658
|
+
* @param autoLayoutFile - 欲导入的 JSON 文件
|
|
6659
|
+
* @returns 导入操作是否成功
|
|
6660
|
+
*/
|
|
6661
|
+
importOldAutoLayoutJsonFile(autoLayoutFile: File): Promise<boolean>;
|
|
6647
6662
|
/**
|
|
6648
6663
|
* 导入自动布局文件(JSON)
|
|
6649
6664
|
*
|
|
@@ -7448,7 +7463,7 @@ declare class PCB_ManufactureData {
|
|
|
7448
7463
|
*
|
|
7449
7464
|
* @public
|
|
7450
7465
|
* @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
|
|
7451
|
-
* @deprecated
|
|
7466
|
+
* @deprecated 建议使用 {@link PCB_ManufactureData.getAutoRouteJsonFile} 接口提供的自动布线文件
|
|
7452
7467
|
* @param fileName - 文件名
|
|
7453
7468
|
* @returns 旧版自动布线 JSON 文件数据
|
|
7454
7469
|
*/
|
|
@@ -7467,7 +7482,7 @@ declare class PCB_ManufactureData {
|
|
|
7467
7482
|
*
|
|
7468
7483
|
* @beta
|
|
7469
7484
|
* @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
|
|
7470
|
-
* @deprecated
|
|
7485
|
+
* @deprecated 建议使用 {@link PCB_ManufactureData.getAutoLayoutJsonFile} 接口提供的自动布局文件
|
|
7471
7486
|
* @param fileName - 文件名
|
|
7472
7487
|
* @returns 旧版自动布局 JSON 文件数据
|
|
7473
7488
|
*/
|
|
@@ -7628,6 +7643,7 @@ declare class PCB_Primitive {
|
|
|
7628
7643
|
* PCB & 封装 / 圆弧线图元类
|
|
7629
7644
|
*
|
|
7630
7645
|
* @public
|
|
7646
|
+
* @remarks 直线和圆弧线均为导线,对应画布的线条走线和圆弧走线
|
|
7631
7647
|
*/
|
|
7632
7648
|
declare class PCB_PrimitiveArc implements IPCB_PrimitiveAPI {
|
|
7633
7649
|
/**
|
|
@@ -7797,7 +7813,7 @@ declare class PCB_PrimitiveComponent implements IPCB_PrimitiveAPI {
|
|
|
7797
7813
|
* @beta
|
|
7798
7814
|
* @param layer - 层
|
|
7799
7815
|
* @param primitiveLock - 是否锁定
|
|
7800
|
-
* @returns
|
|
7816
|
+
* @returns 器件的图元 ID 数组
|
|
7801
7817
|
*/
|
|
7802
7818
|
getAllPrimitiveId(layer?: TPCB_LayersOfComponent, primitiveLock?: boolean): Promise<Array<string>>;
|
|
7803
7819
|
/**
|
|
@@ -7995,13 +8011,14 @@ declare class PCB_PrimitiveImage implements IPCB_PrimitiveAPI {
|
|
|
7995
8011
|
}
|
|
7996
8012
|
|
|
7997
8013
|
/**
|
|
7998
|
-
* PCB & 封装 /
|
|
8014
|
+
* PCB & 封装 / 直线图元类
|
|
7999
8015
|
*
|
|
8000
8016
|
* @public
|
|
8017
|
+
* @remarks 直线和圆弧线均为导线,对应画布的线条走线和圆弧走线
|
|
8001
8018
|
*/
|
|
8002
8019
|
declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
|
|
8003
8020
|
/**
|
|
8004
|
-
*
|
|
8021
|
+
* 创建直线
|
|
8005
8022
|
*
|
|
8006
8023
|
* @public
|
|
8007
8024
|
* @param net - 网络名称
|
|
@@ -8012,24 +8029,24 @@ declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
|
|
|
8012
8029
|
* @param endY - 终止位置 Y
|
|
8013
8030
|
* @param lineWidth - 线宽
|
|
8014
8031
|
* @param primitiveLock - 是否锁定
|
|
8015
|
-
* @returns
|
|
8032
|
+
* @returns 直线图元对象
|
|
8016
8033
|
*/
|
|
8017
8034
|
create(net: string, layer: TPCB_LayersOfLine, startX: number, startY: number, endX: number, endY: number, lineWidth?: number, primitiveLock?: boolean): Promise<IPCB_PrimitiveLine | undefined>;
|
|
8018
8035
|
/**
|
|
8019
|
-
*
|
|
8036
|
+
* 删除直线
|
|
8020
8037
|
*
|
|
8021
8038
|
* @beta
|
|
8022
|
-
* @param primitiveIds -
|
|
8039
|
+
* @param primitiveIds - 直线的图元 ID 或直线图元对象
|
|
8023
8040
|
* @returns 删除操作是否成功
|
|
8024
8041
|
*/
|
|
8025
8042
|
delete(primitiveIds: string | IPCB_PrimitiveLine | Array<string> | Array<IPCB_PrimitiveLine>): Promise<boolean>;
|
|
8026
8043
|
/**
|
|
8027
|
-
*
|
|
8044
|
+
* 修改直线
|
|
8028
8045
|
*
|
|
8029
8046
|
* @beta
|
|
8030
8047
|
* @param primitiveId - 图元 ID
|
|
8031
8048
|
* @param property - 修改参数
|
|
8032
|
-
* @returns
|
|
8049
|
+
* @returns 直线图元对象
|
|
8033
8050
|
*/
|
|
8034
8051
|
modify(primitiveId: string | IPCB_PrimitiveLine, property: {
|
|
8035
8052
|
net?: string;
|
|
@@ -8042,24 +8059,24 @@ declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
|
|
|
8042
8059
|
primitiveLock?: boolean;
|
|
8043
8060
|
}): Promise<IPCB_PrimitiveLine | undefined>;
|
|
8044
8061
|
/**
|
|
8045
|
-
*
|
|
8062
|
+
* 获取直线
|
|
8046
8063
|
*
|
|
8047
8064
|
* @beta
|
|
8048
|
-
* @param primitiveIds -
|
|
8049
|
-
* @returns
|
|
8065
|
+
* @param primitiveIds - 直线的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
8066
|
+
* @returns 直线图元对象,`undefined` 表示获取失败
|
|
8050
8067
|
*/
|
|
8051
8068
|
get(primitiveIds: string): Promise<IPCB_PrimitiveLine | undefined>;
|
|
8052
8069
|
/**
|
|
8053
|
-
*
|
|
8070
|
+
* 获取直线
|
|
8054
8071
|
*
|
|
8055
8072
|
* @beta
|
|
8056
8073
|
* @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
|
|
8057
|
-
* @param primitiveIds -
|
|
8058
|
-
* @returns
|
|
8074
|
+
* @param primitiveIds - 直线的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
8075
|
+
* @returns 直线图元对象,空数组表示获取失败
|
|
8059
8076
|
*/
|
|
8060
8077
|
get(primitiveIds: Array<string>): Promise<Array<IPCB_PrimitiveLine>>;
|
|
8061
8078
|
/**
|
|
8062
|
-
*
|
|
8079
|
+
* 获取所有直线的图元 ID
|
|
8063
8080
|
*
|
|
8064
8081
|
* @beta
|
|
8065
8082
|
* @param net - 网络名称
|
|
@@ -8069,13 +8086,13 @@ declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
|
|
|
8069
8086
|
*/
|
|
8070
8087
|
getAllPrimitiveId(net?: string, layer?: TPCB_LayersOfLine, primitiveLock?: boolean): Promise<Array<string>>;
|
|
8071
8088
|
/**
|
|
8072
|
-
*
|
|
8089
|
+
* 获取所有直线
|
|
8073
8090
|
*
|
|
8074
8091
|
* @beta
|
|
8075
8092
|
* @param net - 网络名称
|
|
8076
8093
|
* @param layer - 层
|
|
8077
8094
|
* @param primitiveLock - 是否锁定
|
|
8078
|
-
* @returns
|
|
8095
|
+
* @returns 直线图元对象数组
|
|
8079
8096
|
*/
|
|
8080
8097
|
getAll(net?: string, layer?: TPCB_LayersOfLine, primitiveLock?: boolean): Promise<Array<IPCB_PrimitiveLine>>;
|
|
8081
8098
|
}
|
|
@@ -8423,7 +8440,7 @@ declare class PCB_SelectControl {
|
|
|
8423
8440
|
*/
|
|
8424
8441
|
doCrossProbeSelect(components?: Array<string>, pins?: Array<string>, nets?: Array<string>, highlight?: boolean, select?: boolean): Promise<boolean>;
|
|
8425
8442
|
/**
|
|
8426
|
-
*
|
|
8443
|
+
* 清除选中
|
|
8427
8444
|
*
|
|
8428
8445
|
* @beta
|
|
8429
8446
|
* @returns 操作是否成功
|
|
@@ -8739,7 +8756,7 @@ declare class SCH_PrimitiveBus implements ISCH_PrimitiveAPI {
|
|
|
8739
8756
|
* 删除总线
|
|
8740
8757
|
*
|
|
8741
8758
|
* @beta
|
|
8742
|
-
* @param primitiveIds -
|
|
8759
|
+
* @param primitiveIds - 总线的图元 ID 或总线图元对象
|
|
8743
8760
|
* @returns 删除操作是否成功
|
|
8744
8761
|
*/
|
|
8745
8762
|
delete(primitiveIds: string | ISCH_PrimitiveBus | Array<string> | Array<ISCH_PrimitiveBus>): boolean;
|
|
@@ -9022,7 +9039,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
|
|
|
9022
9039
|
* @param name - 名称,`null` 表示留空
|
|
9023
9040
|
* @param uniqueId - 唯一 ID,`null` 表示留空
|
|
9024
9041
|
* @param manufacturer - 制造商,`null` 表示留空
|
|
9025
|
-
* @param manufacturerId - 制造商编号,`null`
|
|
9042
|
+
* @param manufacturerId - 制造商编号,`null` 表示留空
|
|
9026
9043
|
* @param supplier - 供应商,`null` 表示留空
|
|
9027
9044
|
* @param supplierId - 供应商编号,`null` 表示留空
|
|
9028
9045
|
* @returns 器件图元对象
|
|
@@ -9123,7 +9140,7 @@ declare class SCH_PrimitivePin implements ISCH_PrimitiveAPI {
|
|
|
9123
9140
|
* @param y - 坐标 Y
|
|
9124
9141
|
* @param pinNumber - 引脚编号
|
|
9125
9142
|
* @param pinName - 引脚名称
|
|
9126
|
-
* @param rotation -
|
|
9143
|
+
* @param rotation - 旋转角度,可选 `0` `90` `180` `270`
|
|
9127
9144
|
* @param pinLength - 引脚长度
|
|
9128
9145
|
* @param pinColor - 引脚颜色,`null` 表示默认
|
|
9129
9146
|
* @param activeLow - 是否低电平有效
|
|
@@ -9308,7 +9325,7 @@ declare class SCH_PrimitiveText implements ISCH_PrimitiveAPI {
|
|
|
9308
9325
|
* @beta
|
|
9309
9326
|
* @param x - 坐标 X
|
|
9310
9327
|
* @param y - 坐标 Y
|
|
9311
|
-
* @param content -
|
|
9328
|
+
* @param content - 文本内容
|
|
9312
9329
|
* @param rotation - 旋转角度,可选 `0` `90` `180` `270`
|
|
9313
9330
|
* @param textColor - 文本颜色,`null` 表示默认
|
|
9314
9331
|
* @param fontName - 字体名称,`null` 表示默认
|
|
@@ -9390,7 +9407,7 @@ declare class SCH_PrimitiveWire implements ISCH_PrimitiveAPI {
|
|
|
9390
9407
|
*
|
|
9391
9408
|
* 如若已指定,则遵循:
|
|
9392
9409
|
* 1. 有一个或多个坐标点在其他网络的图元上,且其他图元并未显式(通常指的是包含网络标签或网络端口)指定网络,则其他图元跟随指定的网络;
|
|
9393
|
-
* 2.
|
|
9410
|
+
* 2. 如若其他图元指定了网络,则创建失败
|
|
9394
9411
|
* @param color - 导线颜色,`null` 表示默认
|
|
9395
9412
|
* @param lineWidth - 线宽,范围 `1-10`,`null` 表示默认
|
|
9396
9413
|
* @param lineType - 线型,`0` 实线,`1` 短划线,`2` 点线,`3` 点划线,`null` 表示默认
|
|
@@ -9706,7 +9723,7 @@ declare class SYS_FileManager {
|
|
|
9706
9723
|
*/
|
|
9707
9724
|
getProjectFileByProjectUuid(projectUuid: string, fileName?: string, password?: string): Promise<File | undefined>;
|
|
9708
9725
|
/**
|
|
9709
|
-
* 使用器件 UUID
|
|
9726
|
+
* 使用器件 UUID 获取器件文件
|
|
9710
9727
|
*
|
|
9711
9728
|
* @public
|
|
9712
9729
|
* @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
|
|
@@ -9762,7 +9779,7 @@ declare class SYS_FileSystem {
|
|
|
9762
9779
|
* 保存文件
|
|
9763
9780
|
*
|
|
9764
9781
|
* @public
|
|
9765
|
-
* @remarks 调用浏览器下载接口或 Electron
|
|
9782
|
+
* @remarks 调用浏览器下载接口或 Electron 保存文件接口,将传入的文件流��存到本地
|
|
9766
9783
|
* @param fileData - 文件数据
|
|
9767
9784
|
* @param fileName - 文件名称
|
|
9768
9785
|
*/
|
|
@@ -10031,7 +10048,7 @@ declare class SYS_MessageBox {
|
|
|
10031
10048
|
*
|
|
10032
10049
|
* @public
|
|
10033
10050
|
* @deprecated 请使用 {@link SYS_Dialog.showConfirmationMessage} 替代
|
|
10034
|
-
* @remarks
|
|
10051
|
+
* @remarks 显示一个拥有确认和取消按钮的确认框
|
|
10035
10052
|
* @param content - 消息文本,支持使用 `\n` 换行
|
|
10036
10053
|
* @param title - 确认框标题
|
|
10037
10054
|
* @param mainButtonTitle - 主要按钮标题
|
|
@@ -10568,7 +10585,7 @@ declare type TPCB_LayersOfRegion = TPCB_LayersOfCopper | EPCB_LayerId.MULTI;
|
|
|
10568
10585
|
declare type TPCB_LayerTypesOfInnerLayer = EPCB_LayerType.SIGNAL | EPCB_LayerType.INTERNAL_ELECTRICAL;
|
|
10569
10586
|
|
|
10570
10587
|
/**
|
|
10571
|
-
*
|
|
10588
|
+
* 单多边形源数组
|
|
10572
10589
|
*
|
|
10573
10590
|
* @public
|
|
10574
10591
|
* @remarks
|