@jlceda/pro-api-types 0.1.164 → 0.1.165
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 +7 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2852,7 +2852,7 @@ declare interface IPCB_DifferentialPairItem {
|
|
|
2852
2852
|
* @public
|
|
2853
2853
|
*/
|
|
2854
2854
|
declare interface IPCB_EqualLengthNetGroupItem {
|
|
2855
|
-
/**
|
|
2855
|
+
/** 等长网络组名�� */
|
|
2856
2856
|
name: string;
|
|
2857
2857
|
/** 网络名称数组 */
|
|
2858
2858
|
nets: Array<string>;
|
|
@@ -11157,7 +11157,7 @@ declare class PCB_Primitive {
|
|
|
11157
11157
|
*
|
|
11158
11158
|
* @beta
|
|
11159
11159
|
* @param primitiveIds - 图元 ID 数组或图元对象数组
|
|
11160
|
-
* @returns 图元的 BBox
|
|
11160
|
+
* @returns 图元的 BBox,如若图元不存在或没��� BBox,将会返回 `undefined` 的结果
|
|
11161
11161
|
*/
|
|
11162
11162
|
getPrimitivesBBox(primitiveIds: Array<string | IPCB_Primitive>): Promise<{
|
|
11163
11163
|
minX: number;
|
|
@@ -11970,7 +11970,7 @@ declare class PCB_PrimitivePolyline implements IPCB_PrimitiveAPI {
|
|
|
11970
11970
|
* 获取折线
|
|
11971
11971
|
*
|
|
11972
11972
|
* @beta
|
|
11973
|
-
* @remarks 如若传入多个图元 ID,任意图元 ID
|
|
11973
|
+
* @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,��可能返回少于传入的图元 ID 数量的图元对象
|
|
11974
11974
|
* @param primitiveIds - 折线的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
11975
11975
|
* @returns 折线图元对象,空数组表示获取失败
|
|
11976
11976
|
*/
|
|
@@ -12404,7 +12404,7 @@ declare class SCH_Drc {
|
|
|
12404
12404
|
* 检查 DRC
|
|
12405
12405
|
*
|
|
12406
12406
|
* @public
|
|
12407
|
-
* @remarks 如若检查结果存在 **错误**
|
|
12407
|
+
* @remarks 如若检查结果存在 **错误** 或以上级别,将会始终呼��底部 DRC 窗口,无视 `userInterface` 参数
|
|
12408
12408
|
* @param strict - 是否严格检查,严格检查时存在 Warning 将返回 `false`,否则返回 `true`
|
|
12409
12409
|
* @param userInterface - 是否显示 UI(呼出底部 DRC 窗口)
|
|
12410
12410
|
* @returns DRC 检查是否无错误
|
|
@@ -13938,7 +13938,7 @@ declare class SYS_Dialog {
|
|
|
13938
13938
|
*
|
|
13939
13939
|
* @beta
|
|
13940
13940
|
* @param options -
|
|
13941
|
-
*
|
|
13941
|
+
* 选项列表,可以为字���串数组或对象数组,在未指定 `defaultOption` 时,默认值为列表的第一项;
|
|
13942
13942
|
*
|
|
13943
13943
|
* 如若为字符串数组,则选项的值和选项的展示内容将保持一致;
|
|
13944
13944
|
*
|
|
@@ -14280,7 +14280,7 @@ declare class SYS_FileSystem {
|
|
|
14280
14280
|
*
|
|
14281
14281
|
* 如若结尾为斜杠 `/`(Windows 为反斜杠 `\`),则识别为文件夹;
|
|
14282
14282
|
*
|
|
14283
|
-
*
|
|
14283
|
+
* 如若结尾非斜杠,则识别为完整文件名,此�� `fileName` 参数将被忽略
|
|
14284
14284
|
* @param force - 强制删除文件夹(当欲删除的是文件夹且文件夹内有文件时,是否强制删除该文件夹)
|
|
14285
14285
|
* @returns 删除操作是否成功
|
|
14286
14286
|
*/
|
|
@@ -14776,7 +14776,7 @@ declare class SYS_Setting {
|
|
|
14776
14776
|
* 全局恢复默认设置
|
|
14777
14777
|
*
|
|
14778
14778
|
* @remarks 将所有 EDA 设置恢复到默认状态,本操作将会丢失所有设置项,在调用时请特别注意
|
|
14779
|
-
* @returns
|
|
14779
|
+
* @returns 操作是否��功
|
|
14780
14780
|
*/
|
|
14781
14781
|
restoreDefault(): Promise<boolean>;
|
|
14782
14782
|
}
|