News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Delete all visible Layers

Started by migseye, April 18, 2017, 07:44:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

migseye

I am creating a wiring diagram generator that toggles the visibility of 100+ layers.  I would like to reduce the file size when saving so  I wanted to use a function that would delete all visible layers when exporting.  I have created an automated macros that duplicates the page, renames the tab based on options on userform and then returns to original page to generate another.  I would like to delete invisible layers on duplicated page before returning to main page. Any tips to point me in the right direction?

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 134 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1049KB.
Tokens: post-login.
Cache hits: 13: 0.00135s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 17.

[Show Queries]