mxcad 1.0.132 → 1.0.134

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/dist/mxcad.d.ts CHANGED
@@ -531,6 +531,14 @@ export declare class McDbObject extends McRxObject {
531
531
  * @returns 是否删除成功。
532
532
  */
533
533
  erase(): boolean;
534
+ /**
535
+ * 对象是否已经删除
536
+ */
537
+ isErased(): boolean;
538
+ /**
539
+ * 反删除对象。
540
+ */
541
+ unErase(): boolean;
534
542
  /**
535
543
  * 克隆对象。
536
544
  * @returns 克隆出的对象。
@@ -2609,7 +2617,7 @@ export declare class McDbBlockTableRecord extends McDbObject {
2609
2617
  export declare class McDbBlockTable extends McDbObject {
2610
2618
  constructor(imp?: any);
2611
2619
  getAllRecordId(skipDeleted?: boolean): McObjectId[];
2612
- add(rec: McDbBlockTableRecord): McObjectId;
2620
+ add(rec: McDbBlockTableRecord | string): McObjectId;
2613
2621
  get(sName: string, skipDeleted?: boolean): McObjectId;
2614
2622
  has(sName: string): boolean;
2615
2623
  }
@@ -3332,6 +3340,10 @@ export declare class McAppType {
3332
3340
  * 调置需要通过网络加载的字体
3333
3341
  */
3334
3342
  addNetworkLoadingFont(paths: string | string[]): void;
3343
+ /**
3344
+ * 得当前程序的版本信息
3345
+ */
3346
+ getVersionString(): string;
3335
3347
  }
3336
3348
  /**
3337
3349
  * MxCppType 类