Discussion:
Dynamically resize
(too old to reply)
Monkey-See, Monkey-Do
2010-04-22 12:44:01 UTC
Permalink
Hi all,

Is there a way to resize shapes dynamically. What I want to do is have a
rectangle, for example, with connector points on the side and as I resize the
rectangle more connections appear, or at least the old ones stay where they
are.

Any thoughts?
Paul Herber
2010-04-22 19:20:29 UTC
Permalink
On Thu, 22 Apr 2010 05:44:01 -0700, Monkey-See, Monkey-Do
Post by Monkey-See, Monkey-Do
Hi all,
Is there a way to resize shapes dynamically. What I want to do is have a
rectangle, for example, with connector points on the side and as I resize the
rectangle more connections appear, or at least the old ones stay where they
are.
Connection points tend to be located relative to the shape they belong to, in particular
they tend to be located relative to the left hand and top sides of the shape, so, as the
shape is resized using the left hand resize handle then the connection points will move
with that handle. For the connection points to stay still when the left hand handle is
moved would require the connection points to be relative to the right hand edge (which
would then cause the connection points to move when the right-hand handle is used to
resize) or the connection points are located relative to the page, but that won't work as
then the connection points would not move when the shape was moved.
--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.sandrila.co.uk/visio-electronics/
Electrical for Visio http://www.sandrila.co.uk/visio-electrical/
Electronics Packages for Visio http://www.sandrila.co.uk/visio-electronics-packages/
David J Parker [MVP Visio]
2010-04-23 06:51:56 UTC
Permalink
If you have Visio Pro 2007+, then have a look at the construction of the
Cabinet and Rack masters on the Rack Mounted Equipment stencil.
The ShapeSheet formulae of the connection points control their position when
the shape is resized.
Post by Paul Herber
On Thu, 22 Apr 2010 05:44:01 -0700, Monkey-See, Monkey-Do
Post by Monkey-See, Monkey-Do
Hi all,
Is there a way to resize shapes dynamically. What I want to do is have a
rectangle, for example, with connector points on the side and as I resize the
rectangle more connections appear, or at least the old ones stay where they
are.
Connection points tend to be located relative to the shape they belong to, in particular
they tend to be located relative to the left hand and top sides of the shape, so, as the
shape is resized using the left hand resize handle then the connection points will move
with that handle. For the connection points to stay still when the left hand handle is
moved would require the connection points to be relative to the right hand edge (which
would then cause the connection points to move when the right-hand handle is used to
resize) or the connection points are located relative to the page, but that won't work as
then the connection points would not move when the shape was moved.
--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio
http://www.sandrila.co.uk/visio-electronics/
Electrical for Visio http://www.sandrila.co.uk/visio-electrical/
Electronics Packages for Visio
http://www.sandrila.co.uk/visio-electronics-packages/
John... Visio MVP
2010-05-24 14:32:28 UTC
Permalink
or relative to the left, top or bottom edge. To "add" extra connection
points, you need to have the maximum number of connection points and when
the shape is small, hide the excess connection points.

For example, if the connection poins are going from the left edge, you can
set the connection points hidden value based on its' position from the left
edge and the width of the shape. If the position is greater than the width,
hide the shape.

John... Visio MVP
Post by Paul Herber
On Thu, 22 Apr 2010 05:44:01 -0700, Monkey-See, Monkey-Do
Post by Monkey-See, Monkey-Do
Hi all,
Is there a way to resize shapes dynamically. What I want to do is have a
rectangle, for example, with connector points on the side and as I resize the
rectangle more connections appear, or at least the old ones stay where they
are.
Connection points tend to be located relative to the shape they belong to, in particular
they tend to be located relative to the left hand and top sides of the shape, so, as the
shape is resized using the left hand resize handle then the connection points will move
with that handle. For the connection points to stay still when the left hand handle is
moved would require the connection points to be relative to the right hand edge (which
would then cause the connection points to move when the right-hand handle is used to
resize) or the connection points are located relative to the page, but that won't work as
then the connection points would not move when the shape was moved.
--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio
http://www.sandrila.co.uk/visio-electronics/
Electrical for Visio http://www.sandrila.co.uk/visio-electrical/
Electronics Packages for Visio
http://www.sandrila.co.uk/visio-electronics-packages/
Continue reading on narkive:
Loading...