Main Menu

Recent posts

#1
General Visio / Re: Keep drawing maximized whe...
Last post by Yacine - Today at 08:28:36 PM
My left foot was aching yesterday.  ;D
#2
General Visio / Re: Keep drawing maximized whe...
Last post by YossiD - Today at 12:42:07 PM
Ok, now it has started working the way I want, but I have no idea why, as I didn't change anything. Can someone explain this?
#3
General Visio / Keep drawing maximized when op...
Last post by YossiD - Today at 12:36:57 PM
When I open a shapesheet, the drawing window reduces to half height, and I have to "re-maximize" it after closing the shapesheet (quite annoying). Is there a way to keep the drawing window maximized, with the shapesheet opening in its own smaller window over the drawing? I'm pretty sure it worked that way for me in the past, but I can't find a setting for it.

Alternatively, is there a way to get the drawing window to automatically "re-maximize" when closing the shapesheet?

I am in Visio 2013.
#4
Shapes & Templates / Re: Grouped Shapes WILL NOT GL...
Last post by wapperdude - May 23, 2024, 09:27:08 PM
I need to get a life...

Well, for those who don't want the restrictions of combining, there is a work-around.  It might be a bit tedious.  It uses code and the Cell.GlueTo connection point method.  (Edit:  BTW, forgot to mention, that the combining approach as indicated by Nikolay, does work to reduce shape count and allow manual gluing to take place.)

The process involves adding an outward connection point to the large grouped array of shapes.  In this example, there are 51 shapes.  The 51st is a large shape, converted to group.  The remaining 50 are added to this lg shape.  It has the connection point.  A small circular shape has inward connection point.  The circular shape remains stationary, the grouped shape is moved such that its connection point glues to the circle's.  Doing this manually fails.  Doing this with code works.  The tedious part is that the group shape must be moved precisely such that its connection point aligns with the circle's.

The attachment contains the shapes and the code.  The code is actually quite simple.  The shapeID's are hard coded for this proof of concept.  Also, the coordinates of the LocPins are set to coincide with the respective connection points to simplify the movement positioning.
#5
Shapes & Templates / Re: Grouped Shapes WILL NOT GL...
Last post by wapperdude - May 23, 2024, 05:32:09 PM
For those unfamiliar with the "combining" technique, it needs to be pointed out that all "shapes" combined into a single, multiple geometry construct inherit identical formatting features.  That is, they no longer have individual, unique values for fill coloring, line style formats, etc.  For example, if one has bold, blue lines, all will have bold blue lines.  So, plan ahead when combining.  It may not be a satisfactory, global/universal solution.
#6
Shapes & Templates / Re: Grouped Shapes WILL NOT GL...
Last post by Nikolay - May 23, 2024, 03:20:53 PM
@Scott10284

Sure, you cna use "Open Group" from the context menu to edit the contents of a group without ungrouping.
#7
Shapes & Templates / Re: Grouped Shapes WILL NOT GL...
Last post by Scott10284 - May 23, 2024, 01:50:48 PM
So my overall shape count is just north of 50 right now. I can use the "combine" function to combine like shapes as @Nikolay suggested.

The issue I am having with doing this, is that when I combine the shapes within the overall grouping, it removes the combined shape from the group. Ungrouping everything to get this combined shape back in will break alot of functions that I have coded via the overall group's shapesheet.

Is there a way to add a shape to an existing grouping without ungrouping / regrouping with the new part added to the regrouping?
#8
Shapes & Templates / Re: Grouped Shapes WILL NOT GL...
Last post by Nikolay - May 23, 2024, 08:36:23 AM
@Scott10284
Yes I confirm. For me, it is 49 shapes though (i.e. works up to 49 shapes inclusive, from 50 it does not)

One idea could be to simplify your shape (i.e. do not build your shape using groups, but instead just use multiple geometry sections of a single shape)
That is, use "combine" not "group" to build your shapes. That is also much more efficient from the performance point of view.

Just to clarify the issue for anyone interested:


#9
Programming & Code / Re: Testing row type, before t...
Last post by Surrogate - May 23, 2024, 07:42:06 AM
In the paper book Visio 2003 Developer's Survival Pack by Graham Wideman, I found table 36-8. There I found that visTagCnnctPt and other rows were added in the Visio 06 version.

The Visio History table indicates that version 06 was released in August 1999, before MS acquired Visio!
#10
Shapes & Templates / Re: Grouped Shapes WILL NOT GL...
Last post by wapperdude - May 23, 2024, 02:53:56 AM
Ah. Could also glue using walking glue, and glue a 2D shape to the grouped shape.  What did not work was gluing the group shape to a 2D shape.