mxcad 1.0.132 → 1.0.133

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
  }