How to move group geometry to the back of subshapes in a group shape

Started by Visisthebest, December 14, 2023, 09:27:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

To reduce the amount of subshapes in some group shapes, I would like to move a subshape in to the group shape's geometry.

(you can try this by taking say a circle and choosing 'convert to group' in Visio, the circle does not become a subshape but is moved in to the geometry section of the group shape)

Unfortunately, I cannot get the group shape to move to the back of the subshapes. Is this possible at all, or is the group shape always on top of the subshapes? (which makes little sense to me, it makes more sense for the group geometry to be a 'background' for the subshapes)
Visio 2021 Professional

Surrogate

Quote from: Visisthebest on December 14, 2023, 09:27:24 AM(you can try this by taking say a circle and choosing 'convert to group' in Visio, the circle does not become a subshape but is moved in to the geometry section of the group shape)
Really, you can add sub-shape (circle) th group shape geometry?

Visisthebest

Don't create a group yet.

Create a single circle, then do 'convert to group'.

The circle is now a group shape with its own geometry!
Visio 2021 Professional

Surrogate

Place group geometry behind sub-shapes...

UPD Prepare mute movie https://youtu.be/JkpM4CnWux4

Visisthebest

Thank you Surrogate this is hugely useful!

Don't know how I overlooked it, the VBA for this is (using macro recorder):

GroupShape.CellsSRC(visSectionObject, visRowGroup, visGroupDisplayMode).FormulaU = "1"

to move it to the back of the subshapes.

0 to hide it
2 to put the geometry in front

https://learn.microsoft.com/en-us/office/client-developer/visio/displaymode-cell-group-properties-section

Great!
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: 225 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1077KB.
Tokens: post-login.
Cache hits: 14: 0.00228s for 26,603 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]