Does Visio filter out setting identical X, Y position settings on shapes?

Started by Visisthebest, February 28, 2021, 01:28:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

In a custom coded layout algorithm, on diagrams that are typically several hundreds shapes sometimes several thousand, often most shapes are not repositioned after a layout.

If I set a shapes' X and Y position exactly to the current setting, does Visio filter this out when doing its calculations and diagram updating, or does it improve performance if I read the X and Y positions of the shapes first, then only set X and Y if they have changed?

Thank you for you insights in to how the Visio diagramming engine works behind the scenes!

If Visio solves this behind the scenes no use optimizing this in the layout code.
Visio 2021 Professional