@jlceda/pro-api-types 0.1.94 → 0.1.95
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 +14 -14
- 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 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
|
|
@@ -813,7 +813,7 @@ declare const eda: EDA;
|
|
|
813
813
|
* @public
|
|
814
814
|
*/
|
|
815
815
|
declare enum EDMT_EditorDocumentType {
|
|
816
|
-
/**
|
|
816
|
+
/** 开���页 */
|
|
817
817
|
HOME = -1,
|
|
818
818
|
/** 空白页 */
|
|
819
819
|
BLANK = 0,
|
|
@@ -1375,7 +1375,7 @@ declare enum EPCB_PrimitiveRegionRuleType {
|
|
|
1375
1375
|
declare enum EPCB_PrimitiveType {
|
|
1376
1376
|
/** 圆弧线 */
|
|
1377
1377
|
ARC = "Arc",
|
|
1378
|
-
/**
|
|
1378
|
+
/** 器件 */
|
|
1379
1379
|
COMPONENT = "Component",
|
|
1380
1380
|
/** 焊盘 */
|
|
1381
1381
|
PAD = "Pad",
|
|
@@ -3233,7 +3233,7 @@ declare class IPCB_PrimitiveImage implements IPCB_Primitive {
|
|
|
3233
3233
|
* 获取属性状态:BBox 左上点坐标 X
|
|
3234
3234
|
*
|
|
3235
3235
|
* @public
|
|
3236
|
-
* @returns BBox
|
|
3236
|
+
* @returns BBox ���上点坐标 X
|
|
3237
3237
|
*/
|
|
3238
3238
|
getState_X(): number;
|
|
3239
3239
|
/**
|
|
@@ -3573,7 +3573,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
3573
3573
|
*/
|
|
3574
3574
|
toSync(): IPCB_PrimitiveLine;
|
|
3575
3575
|
/**
|
|
3576
|
-
*
|
|
3576
|
+
* 查询图元是否为��步图元
|
|
3577
3577
|
*
|
|
3578
3578
|
* @public
|
|
3579
3579
|
* @returns 是否为异步图元
|
|
@@ -4789,7 +4789,7 @@ declare interface ISCH_Primitive {
|
|
|
4789
4789
|
}
|
|
4790
4790
|
|
|
4791
4791
|
/**
|
|
4792
|
-
*
|
|
4792
|
+
* 原理图图��接口
|
|
4793
4793
|
*
|
|
4794
4794
|
* @public
|
|
4795
4795
|
*/
|
|
@@ -5052,7 +5052,7 @@ declare class ISCH_PrimitiveCircle implements ISCH_Primitive {
|
|
|
5052
5052
|
*/
|
|
5053
5053
|
reset(): Promise<ISCH_PrimitiveCircle>;
|
|
5054
5054
|
/**
|
|
5055
|
-
*
|
|
5055
|
+
* 将对图元的更改应用到画��
|
|
5056
5056
|
*
|
|
5057
5057
|
* @beta
|
|
5058
5058
|
*/
|
|
@@ -6714,7 +6714,7 @@ declare class PCB_Document {
|
|
|
6714
6714
|
*
|
|
6715
6715
|
* @public
|
|
6716
6716
|
* @remarks
|
|
6717
|
-
*
|
|
6717
|
+
* 嘉立�� EDA 专业版前端显示的坐标均为画布原点;
|
|
6718
6718
|
*
|
|
6719
6719
|
* 嘉立创 EDA 专业版 API 使用的均为数据原点;
|
|
6720
6720
|
*
|
|
@@ -7065,7 +7065,7 @@ declare class PCB_Drc {
|
|
|
7065
7065
|
* 从等长网络组中移除网络
|
|
7066
7066
|
*
|
|
7067
7067
|
* @beta
|
|
7068
|
-
* @param equalLengthNetGroupName -
|
|
7068
|
+
* @param equalLengthNetGroupName - 等��网络组名称
|
|
7069
7069
|
* @param net - 网络名称
|
|
7070
7070
|
* @returns 操作是否成功
|
|
7071
7071
|
*/
|
|
@@ -7193,7 +7193,7 @@ declare class PCB_Layer {
|
|
|
7193
7193
|
* 将层设置为不可见
|
|
7194
7194
|
*
|
|
7195
7195
|
* @beta
|
|
7196
|
-
* @param layer -
|
|
7196
|
+
* @param layer - 层,如若不指定任何层则默认为所有层
|
|
7197
7197
|
* @param setOtherLayerVisible - 是否将其它层设置为可见
|
|
7198
7198
|
* @returns 操作是否成功
|
|
7199
7199
|
*/
|
|
@@ -7306,7 +7306,7 @@ declare class PCB_ManufactureData {
|
|
|
7306
7306
|
* 获取 PCB 制版文件(Gerber)
|
|
7307
7307
|
*
|
|
7308
7308
|
* @beta
|
|
7309
|
-
* @remarks 可以使用 {@link SYS_FileSystem.saveFile}
|
|
7309
|
+
* @remarks 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本��文件系统
|
|
7310
7310
|
* @param fileName - 文件名
|
|
7311
7311
|
* @param colorSilkscreen - 是否生成彩色丝印制造文件(嘉立创专用文件)
|
|
7312
7312
|
* @param unit - 单位
|
|
@@ -8654,7 +8654,7 @@ declare class SCH_PrimitiveArc implements ISCH_PrimitiveAPI {
|
|
|
8654
8654
|
* 创建圆弧
|
|
8655
8655
|
*
|
|
8656
8656
|
* @beta
|
|
8657
|
-
* @param startX -
|
|
8657
|
+
* @param startX - 起始��� X
|
|
8658
8658
|
* @param startY - 起始点 Y
|
|
8659
8659
|
* @param referenceX - 参考点 X
|
|
8660
8660
|
* @param referenceY - 参考点 Y
|
|
@@ -10024,7 +10024,7 @@ declare class SYS_MessageBox {
|
|
|
10024
10024
|
* @public
|
|
10025
10025
|
* @deprecated 请使用 {@link SYS_Dialog.showConfirmationMessage} 替代
|
|
10026
10026
|
* @remarks 显示一个拥有确认和取消按钮的确认框
|
|
10027
|
-
* @param content -
|
|
10027
|
+
* @param content - 消息文本,支持使用 `\n` 换行
|
|
10028
10028
|
* @param title - 确认框标题
|
|
10029
10029
|
* @param mainButtonTitle - 主要按钮标题
|
|
10030
10030
|
* @param buttonTitle - 主要按钮标题
|