mxcad 1.0.351 → 1.0.352

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
@@ -10274,7 +10274,7 @@ export declare class McDbDatabase extends McRxObject {
10274
10274
  * ```ts
10275
10275
  * ```
10276
10276
  */
10277
- wblock(database: McDbDatabase, aryId: McObjectId[], ptBase?: McGePoint3d): boolean;
10277
+ wblock(database: McDbDatabase, aryId: McObjectId[], ptBase?: McGePoint3d, param?: object): boolean;
10278
10278
  /**
10279
10279
  * 插入图块
10280
10280
  * @example
package/dist/mxcad.es.js CHANGED
@@ -15080,7 +15080,7 @@ win.McDrawObjectEvent_asciiToUTF8 = function (hexstr) {
15080
15080
  return MxG2312Obj.decodeFromGb2312Imp(hexstr);
15081
15081
  };
15082
15082
 
15083
- const version$1 = "1.0.350";
15083
+ const version$1 = "1.0.351";
15084
15084
 
15085
15085
  var isSharedArrayBuffer = "SharedArrayBuffer" in window;
15086
15086
  var isCdn = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src);
@@ -21107,13 +21107,13 @@ var McDbDatabase = /*#__PURE__*/function (_McRxObject) {
21107
21107
  }
21108
21108
  }, {
21109
21109
  key: "wblock",
21110
- value: function wblock(database, aryId, ptBase) {
21110
+ value: function wblock(database, aryId, ptBase, param) {
21111
21111
  if (!ptBase) ptBase = McGePoint3d.kOrigin;
21112
21112
  var ids = new McGeLongArray();
21113
21113
  aryId.forEach(function (val) {
21114
21114
  ids.append(val.id);
21115
21115
  });
21116
- return this.imp.wblock(database.getImp(), ids.imp, ptBase.imp);
21116
+ return this.imp.wblock(database.getImp(), ids.imp, ptBase.imp, param ? JSON.stringify(param) : "");
21117
21117
  }
21118
21118
  }, {
21119
21119
  key: "insert",