Re: Speed improvement



It's not clear what you want me to look at unless you posted code I'm
unaware of.

One potentially helpful tool is the Event Monitor app that comes in the
Visio SDK. I'd be curious to see what it reported during that 90 seconds.
Perhaps your code or another Visio add-on is doing work.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

"Florin Capra" <florincapra@xxxxxxxxx> wrote in message
news:uBBDgks7HHA.5212@xxxxxxxxxxxxxxxxxxxxxxx
Thank you Mark for your help.

Unfortunately I saw that DropManyLinkedU method was added in Visio 2007
and I am working with Visio 2003. I am connecting shapes with connectors
using GlueTo method. To have an idea about my situation please take a look
: the method (after some improvements using DropMany method and others)
that drop 140 normal shapes and 170 Connectors both with some properties
and connect them takes 50 seconds BUT until the page is displayed takes
other 90+ seconds. I really don't know if I could improve this part.

Best regards!





Mark Nelson [MS] wrote:
The final page display time is long only because of the work done to
create the diagram. Your best bet is probably to use DropManyLinkedU to
drop all shapes and connectors on the page. Then glue them together
using GlueTo. Finally make one call to Layout to arrange things if
needed. If you are setting individual properties on a shape, it will
take a lot of time.



.



Relevant Pages

  • Re: Cable plug ends and connectors
    ... finding anything regarding connectors. ... Microsoft that Visio has actually lost pre-existing shapes and templates. ... that fails to provide the basic shapes I need, today, to do my job. ...
    (microsoft.public.visio.general)
  • Re: Programmatically redirect links on drawing
    ... If you just need straight lines, it might not be too hard to "xml" the geometry sections for the connectors. ... I also modified the BegTriggger and EndTrigger formulae to point to the new shapes. ... When I open the drawing in Visio, the line does not show up. ...
    (microsoft.public.visio.developer)
  • Re: Programmatically redirect links on drawing
    ... Guy007's connectors are glued dynamically - they will walk around the shape. ... When working with Visio xml, you can leave some data out, and Visio will recalculate it when you open the drawing ... Similarly, when I create a Visio-xml file, I specify the begin- and end- shapes to which connectors are glued, but I don't do the routing. ...
    (microsoft.public.visio.developer)
  • Re: Programmatically redirect links on drawing
    ... When I open the drawing in Visio, the line does not show up (or it shows up ... endpoint shapes of the link, ... I let Visio do the routing of the connectors for me. ...
    (microsoft.public.visio.developer)
  • Re: strange rerouting behaviour of connectors
    ... I have some problems with the Visio connectors. ... To connect shapes I don’t use the glueTo method, ... rerouting behaviour of the connectors that I absolutely don’t want (nor ...
    (microsoft.public.visio.developer.vba)

Loading