Does Stretch command exist in VBA?

Does Stretch command exist in VBA?

Anonymous
Not applicable
545 Views
2 Replies
Message 1 of 3

Does Stretch command exist in VBA?

Anonymous
Not applicable
Hello to all.....................

in standard Autocad there is the command called
"Stretch".....................

There is the same command in VBA? (for example a function or a metod that
receive some object, some point.... and a displacment)..


Please help me........


Tanks in advice
0 Likes
546 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
I do not think that there is a VBA command that replaces "stretch"

As Wayne asked before, are you trying to stretch just a few specific types
of objects, such as lines and plines?
If this is the case, there are examples in the helpfile for editing lines,
and you can search this newsgroup for "pline polyline vertices" to find out
how to stretch a poly. All you would have to do is add the same
displacement to some of the polyline's vertices (not all, or else you'd have
a "move").

Or do you need a general stretch function that will work on all of the same
objects that the "stretch" command works with?

The other tricky part (whether you make your own "stretch" function or a
built-in one existed) would be figuring out which of the object's grips were
selected by the window.

James
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hi,

I have used Stretch in VBA via the Sendcommand process. I had to send comma
separated data for the first and second pick points, carriages returns and
more comma separated data to indicate the points to create the stretching.
It works very reliably once I've established the data points.

--


Laurie Comerford
CADApps
www.cadapps.com.au


"James Belshan" wrote in message
news:9814E97404D8D995BB4AB5B29D64A99A@in.WebX.maYIadrTaRb...
> I do not think that there is a VBA command that replaces "stretch"
>
> As Wayne asked before, are you trying to stretch just a few specific types
> of objects, such as lines and plines?
> If this is the case, there are examples in the helpfile for editing lines,
> and you can search this newsgroup for "pline polyline vertices" to find
out
> how to stretch a poly. All you would have to do is add the same
> displacement to some of the polyline's vertices (not all, or else you'd
have
> a "move").
>
> Or do you need a general stretch function that will work on all of the
same
> objects that the "stretch" command works with?
>
> The other tricky part (whether you make your own "stretch" function or a
> built-in one existed) would be figuring out which of the object's grips
were
> selected by the window.
>
> James
>
>
0 Likes