Browse Source

3dModeling removeMark.js 吉超博 commit at 2021-04-19

吉超博 4 years ago
parent
commit
eb0766e722
1 changed files with 18 additions and 0 deletions
  1. 18 0
      3dModeling/zhhry18/removeMark.js

+ 18 - 0
3dModeling/zhhry18/removeMark.js

@@ -0,0 +1,18 @@
+/**
+ * 清除标注
+ */
+function removeMark() {
+    // 清除图片加文本标注
+    $('.textAndPictureMarker').remove();
+    var marker = app.query(/marker/);
+    if (marker) {
+        marker.destroy();
+    }
+    marker01 = null;
+    marker02 = null;
+    // 移除box
+    var box = app.query('.Box');
+    if (box) {
+        box.destroy();
+    }
+}