Deleting layers without deleting the shapes assigned to it.

Started by Yacine, November 14, 2018, 10:17:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yacine

Visio has that nasty feature that when you delete a layer it deletes the shapes assigned to this layer as well.Whilst the UI gives you no option to deactivate this feature, VBA does: https://docs.microsoft.com/en-us/office/vba/api/visio.layer.delete
I've discovered this possibility after years of de-assigning my shapes from the layer before deleting it and thought I'd share.



Yacine

Browser ID: smf (possibly_robot)
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: 137 (show)
Files included: 32 - 1207KB. (show)
Memory used: 991KB.
Tokens: post-login.
Cache hits: 13: 0.00158s for 26,597 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]