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

Removing connectors from the connector layer

Started by Visisthebest, September 01, 2019, 12:04:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

To be able to hide groups of shapes and their connectors, I want to remove the connectors from the connector layer and put them with the shapes they connect on a new layer (so I can show/hide this part of the diagram, otherwise the connectors keep showing unless I hide all connectors on the page).

Are there any side-effects that can be resolved with some vba code, this question about potential adverse side-effects was also raised here ("Hope this doesn't have any flaws") but not answered:
http://visguy.com/vgforum/index.php?topic=3874.0
Visio 2021 Professional

Paul Herber

No problem with that.
To transfer the connectors to a new layer:

  • Home -> Editing -> Select -> Select by Type
  • select Layer and Connector, then OK
  • then from the same ribbon area select Layers - Assign to Layer
  • select New then enter the new layer name and select OK
  • then on the layer list turn off the Connector layer
All the connectors will now be on your new layer.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

Visisthebest

Thank you Paul good to know, I was afraid Visio is using the connector layer itself and removing connectors from it could lead to errors.

Ideally Visio 2021 ;) will support the possibility to AND the visibility setting (if shape is on layer X and Y, only show it when both layers X AND Y are visible.
Visio 2021 Professional

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: 195 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1058KB.
Tokens: post-login.
Cache hits: 14: 0.00268s for 26,723 bytes (show)
Cache misses: 4: (show)
Queries used: 18.

[Show Queries]