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

Why no shape copy within group?

Started by kennyj, May 10, 2013, 03:29:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kennyj

Hi Paul,

I've been trying out your software, and when I attempt to copy props etc of a subshape within a group, I get a message asking to please select 1 shape. (Actually burned through much of my free trial on those failed attempts, before I sorted out what was happening - lol) Anyway, when I then copy a subshape to stand alone from the group, it loses all of its references to the group, which then of course can't be copied to the new shape.

The copy feature is still of some limited use to me, because I can get the main part of the rows copied, but then I have to go in and manually fix all of the fields with references.

Is this an intentional limitation of the shapes copy feature? Any work around?

Thanks,

-k

Paul Herber

Hi Kenny, thanks for trying the utilities.
When in normal page view mode, with a sub-shape selected as far as I know there is nothing any external code can do to find out about this selection. The normal code for accessing selected shapes on a page:
.ActiveWindow.Selection
is empty. This is how my code works out what shape you have selected. However, if you open the grouped shape and select on of the sub-shapes then the selection works correctly.
This is just normal Visio operation.

Copying cells that refer to any other shape cell (other shape or sub-shape's owner) will always be problematical.  If a sub-shape refers to its parent (say, sheet.17) then copying this sub-shape's cells to another shape will keep the reference to sheet.17. That might be what you want, it might not, I don't think there is any way to do otherwise.

Electronic and Electrical engineering, business and software stencils for Visio -

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

kennyj


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: 175 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1038KB.
Tokens: post-login.
Cache hits: 13: 0.00153s for 26,729 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]