Author Topic: How do I copy-paste a subshape immediately in to the same group shape?  (Read 1127 times)

0 Members and 1 Guest are viewing this topic.

Visisthebest

  • Hero Member
  • *****
  • Posts: 813
I have a subshape with particular behavior set up for within a group shape. This becomes messed up when dropped on to the page.

I want to copy-paste the subshape and drop it immediately in to the same group shape, I know how to drop a shape in to a group but this does not work with copy-paste the shape ends up on the page first each time which messes up the formulas.

How to drop a subshape on paste immmediately in to the same group shape? Thank you for sharing your insights!
Visio 2021 Professional

Surrogate

  • Hero Member
  • *****
  • Posts: 1783
    • ShapeSheet™ Knowledge Base
Why don't you want to go inside the group?
« Last Edit: March 14, 2023, 07:01:43 AM by Surrogate »

Visisthebest

  • Hero Member
  • *****
  • Posts: 813
Thank you Surrogate I did not know about that option!
Visio 2021 Professional

Yacine

  • Hero Member
  • *****
  • Posts: 3165
Even with Surrogates method, it happens to me that I break links.
Then I go with SETF/GetRef to rewrite The parent ID in formulas. Very error prone.
Yacine

Visisthebest

  • Hero Member
  • *****
  • Posts: 813
Thank you Yacine yes I still get those annoying REF() 's in the formulas after paste in the group, fortunately combining Surrogate's and your suggestion works fine!
Visio 2021 Professional

vojo

  • Hero Member
  • *****
  • Posts: 1708
manual mode.

1) go to behaviors and select "add to group on drop" and "accept shape on drop"
2) select the shape or sub shape of interest
3) copy
4) drag over new group until the hash lines show up
5) when hash lines seen, release paste

copied shape is now part of new group.

Visisthebest

  • Hero Member
  • *****
  • Posts: 813
Thank you Vojo that is how I did it initially and it works for copying in to the group, but the problem is the formulas that break and suddenly have REF() statements in them.
Visio 2021 Professional

LorenzoErickson12

  • Guest
I have a subshape with particular behavior set up for within a group shape. This becomes messed up when dropped on to the page.

I want to copy-paste the subshape and drop it immediately in to the same group shape, I know how to drop a shape in to a group but this does not work with copy-paste the shape ends up on the page first each time which messes up the formulas.

How to drop a subshape on paste immmediately in to the same group shape? Thank you for sharing your insights!
To copy and paste a subshape into the same group shape and ensure that its particular behavior is preserved, you can follow these steps:

Select the subshape you want to copy.
Use the keyboard shortcut Ctrl+C (Windows) or Command+C (Mac) to copy the subshape.
Click on the group shape that you want to paste the subshape into to select it.
Use the keyboard shortcut Ctrl+V (Windows) or Command+V (Mac) to paste the subshape into the group shape.
By default, when you paste a copied shape, it will be placed in the center of the page. However, if you hold down the Shift key while pasting, the shape will be pasted in its original position. So, to ensure that the subshape is dropped immediately into the same group shape, hold down the Shift key while pasting.

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4746
  • Ideas Visio-lized into solutions
As preliminary steps, from the Developer tab > behavior, confirm that:
1) group accepts shapes on drop
2) selected shape will join group on drop

Since this sounds like you're duplicating, then <Cntl>+D ought to work.

Ed.  <Cntl>+C & +V  do not preserve the references.
« Last Edit: April 13, 2023, 06:09:34 PM by wapperdude »
Visio 2019 Pro

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4746
  • Ideas Visio-lized into solutions
...and to have some fun...
Visio 2019 Pro