Skip to content

Commit

Permalink
upd Include layers starting with hyphen or dot
Browse files Browse the repository at this point in the history
  • Loading branch information
pchiorean committed Jun 8, 2022
1 parent 7e34318 commit 820c66f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion export/HideDNPLayers.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Hide DNP layers 22.2.10
Hide DNP layers 22.6.8
(c) 2020-2022 Paul Chiorean (jpeg@basement.ro)
Hides DO-NOT-PRINT layers.
Expand All @@ -12,6 +12,7 @@ if (app.documents.length === 0) exit();

(function (doc) {
var layerNames = [
'-*', '.*',
'covered area*',
'visible area', 'rahmen', 'sicht*', '*vi?ib*', 'vis?*',
'safety margins', 'safe area', 'segmentation',
Expand Down
3 changes: 2 additions & 1 deletion export/ShowDNPLayers.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Show DNP layers 22.2.10
Show DNP layers 22.6.8
(c) 2020-2022 Paul Chiorean (jpeg@basement.ro)
Shows DO-NOT-PRINT layers.
Expand All @@ -12,6 +12,7 @@ if (app.documents.length === 0) exit();

(function (doc) {
var layerNames = [
'-*', '.*',
'covered area*',
'visible area', 'rahmen', 'sicht*', '*vi?ib*', 'vis?*',
'safety margins', 'safe area', 'segmentation',
Expand Down

0 comments on commit 820c66f

Please sign in to comment.