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

Recursive Shape Naming

Started by wapperdude, November 23, 2017, 08:01:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wapperdude

In response to a prior topic, http://visguy.com/vgforum/index.php?topic=8157.0, this topic provides example code that can be used to create custom shape names and to revert to standard sheet.xyz format. 

Two separate macros.  Both will search thru all shapes, including subshapes of groups, and either do a custom name, or, convert the custom name back to the standard convention.  Both use adapted recursive code to search thru the shapes...not original with me.  The technique is just representative of what can be done.

Enjoy!
Wapperdude

Visio 2019 Pro

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: 144 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1017KB.
Tokens: post-login.
Cache hits: 13: 0.00136s for 26,765 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]