@jlceda/pro-api-types 0.1.71 → 0.1.72
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 +10 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -413,7 +413,7 @@ declare class DMT_Project {
|
|
|
413
413
|
* @beta
|
|
414
414
|
* @param projectFriendlyName - 工程友好名称
|
|
415
415
|
* @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生成
|
|
416
|
-
* @param teamUuid - 团队 UUID
|
|
416
|
+
* @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团��� UUID
|
|
417
417
|
* @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
|
|
418
418
|
* @param description - 工程描述
|
|
419
419
|
* @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
|
|
@@ -807,7 +807,7 @@ declare enum EDMT_EditorDocumentType {
|
|
|
807
807
|
HOME = -1,
|
|
808
808
|
/** 空白页 */
|
|
809
809
|
BLANK = 0,
|
|
810
|
-
/**
|
|
810
|
+
/** 原���图图页 */
|
|
811
811
|
SCHEMATIC_PAGE = 1,
|
|
812
812
|
/** PCB */
|
|
813
813
|
PCB = 3,
|
|
@@ -1193,7 +1193,7 @@ declare enum EPCB_LayerType {
|
|
|
1193
1193
|
SILKSCREEN = 3,
|
|
1194
1194
|
/** 阻焊层 */
|
|
1195
1195
|
SOLDER_MASK = 4,
|
|
1196
|
-
/**
|
|
1196
|
+
/** ���膏(助焊)层 */
|
|
1197
1197
|
PASTE_MASK = 5,
|
|
1198
1198
|
/** 装配层 */
|
|
1199
1199
|
ASSEMBLY = 6,
|
|
@@ -2554,7 +2554,7 @@ declare class IPCB_PrimitiveDimension implements IPCB_Primitive {
|
|
|
2554
2554
|
* @returns
|
|
2555
2555
|
*/
|
|
2556
2556
|
getState_PrimitiveId(): string;
|
|
2557
|
-
/** @alpha 所有的 setState_*
|
|
2557
|
+
/** @alpha 所有的 setState_* 方法都需要对数据进行基本的格式校验 */
|
|
2558
2558
|
/**
|
|
2559
2559
|
* 设置属性状态:尺寸标注类型
|
|
2560
2560
|
*
|
|
@@ -2862,7 +2862,7 @@ declare class IPCB_PrimitiveLine implements IPCB_Primitive {
|
|
|
2862
2862
|
*/
|
|
2863
2863
|
toSync(): IPCB_PrimitiveLine;
|
|
2864
2864
|
/**
|
|
2865
|
-
*
|
|
2865
|
+
* 查询图元是否为异步图元
|
|
2866
2866
|
*/
|
|
2867
2867
|
isAsync(): boolean;
|
|
2868
2868
|
/**
|
|
@@ -4989,7 +4989,7 @@ declare class PCB_Document {
|
|
|
4989
4989
|
* 嘉立创 EDA 专业版 API 使用的均为数据原点;
|
|
4990
4990
|
*
|
|
4991
4991
|
* 如果希望在 API 操作时前端画布坐标能与数据一致,
|
|
4992
|
-
*
|
|
4992
|
+
* 建议调用本方法并设置偏移量��零,
|
|
4993
4993
|
* 即 `setCanvasOrigin(0, 0)`;
|
|
4994
4994
|
*
|
|
4995
4995
|
* 此处的单位为数据层面单位,在跨度上等同于画布层面的 mil
|
|
@@ -5474,7 +5474,7 @@ declare class PCB_Layer {
|
|
|
5474
5474
|
* 设置层颜色配置
|
|
5475
5475
|
*
|
|
5476
5476
|
* @beta
|
|
5477
|
-
* @param colorConfiguration -
|
|
5477
|
+
* @param colorConfiguration - 颜���配置
|
|
5478
5478
|
* @returns 操作是否成功
|
|
5479
5479
|
*/
|
|
5480
5480
|
setLayerColorConfiguration(colorConfiguration: EPCB_LayerColorConfiguration): Promise<boolean>;
|
|
@@ -7142,7 +7142,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
|
|
|
7142
7142
|
* @param primitiveId - 图元 ID
|
|
7143
7143
|
* @param x - 坐标 X
|
|
7144
7144
|
* @param y - 坐标 Y
|
|
7145
|
-
* @param rotation -
|
|
7145
|
+
* @param rotation - 旋转角度,可�� `0` `90` `180` `270`
|
|
7146
7146
|
* @param mirror - 是否镜像
|
|
7147
7147
|
* @param libraryPath - 库路径,默认为系统库
|
|
7148
7148
|
* @param addIntoBom - 是否加入 BOM
|
|
@@ -7243,7 +7243,7 @@ declare class SCH_PrimitivePin implements ISCH_PrimitiveAPI {
|
|
|
7243
7243
|
* 修改引脚
|
|
7244
7244
|
*
|
|
7245
7245
|
* @beta
|
|
7246
|
-
* @param primitiveId -
|
|
7246
|
+
* @param primitiveId - 图元 ID
|
|
7247
7247
|
* @param x - 坐标 X
|
|
7248
7248
|
* @param y - 坐标 Y
|
|
7249
7249
|
* @param pinNumber - 引脚编号
|
|
@@ -7901,7 +7901,7 @@ declare class SYS_I18n {
|
|
|
7901
7901
|
* @public
|
|
7902
7902
|
* @param namespace - 命名空间
|
|
7903
7903
|
* @param language - 语言
|
|
7904
|
-
* @param source -
|
|
7904
|
+
* @param source - 欲导入��多语言数据对象
|
|
7905
7905
|
*/
|
|
7906
7906
|
importMultilingualLanguage(namespace: string, language: string, source: ISYS_LanguageKeyValuePairs): boolean;
|
|
7907
7907
|
/**
|