@jlceda/pro-api-types 0.1.72 → 0.1.73
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 +11 -11
- 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 - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
|
|
@@ -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 将会获取当前打开且拥有最后输入焦点的原理图图页的详细属性
|
|
@@ -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,
|
|
@@ -4325,7 +4325,7 @@ declare class LIB_Cbb {
|
|
|
4325
4325
|
*/
|
|
4326
4326
|
get(cbbUuid: string, libraryUuid?: string): Promise<ILIB_CbbItem | undefined>;
|
|
4327
4327
|
/**
|
|
4328
|
-
*
|
|
4328
|
+
* 复制���用模块
|
|
4329
4329
|
*
|
|
4330
4330
|
* @beta
|
|
4331
4331
|
* @param cbbUuid - 复用模块 UUID
|
|
@@ -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>;
|
|
@@ -5579,7 +5579,7 @@ declare class PCB_ManufactureData {
|
|
|
5579
5579
|
*
|
|
5580
5580
|
* @beta
|
|
5581
5581
|
* @remarks
|
|
5582
|
-
* 请注意:只有以 STEP
|
|
5582
|
+
* 请注意:只有以 STEP 格式���入的元件模型,才能在导出的 STEP 文件中体现
|
|
5583
5583
|
*
|
|
5584
5584
|
* 可以使用 {@link SYS_FileSystem.saveFile} 接口将文件导出到本地文件系统
|
|
5585
5585
|
* @param fileName - 文件名
|
|
@@ -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
|
/**
|
|
@@ -8447,7 +8447,7 @@ declare type TPCB_LayerTypesOfInnerLayer = EPCB_LayerType.SIGNAL | EPCB_LayerTyp
|
|
|
8447
8447
|
*
|
|
8448
8448
|
* 单多边形的数据由以下几种模式组合而成:
|
|
8449
8449
|
*
|
|
8450
|
-
* ① L
|
|
8450
|
+
* ① L ���线模式
|
|
8451
8451
|
*
|
|
8452
8452
|
* `x1 y1 L x2 y3 x3 y3 ...`
|
|
8453
8453
|
*
|