Ghosting objects when moving

Ghosting objects when moving

Anonymous
Not applicable
174 Views
2 Replies
Message 1 of 3

Ghosting objects when moving

Anonymous
Not applicable
Is there any way when using VBA to move objects either with the object.move
or the SendCommand that will allow a ghost image of the objects to appear
while
picking the destination point?

Any help would be greatly appreciated!
Dennis
0 Likes
175 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
I don't think that there is a way to get the ghosting with the object.move
method. You should be able to see get it with the SendCommand. Make sure
that your dragmode variable is set to Auto (I believe that is the correct
setting).

Just a suggestion. You may have better luck using EvalLispExpr within
acadunsupp.arx. I was using the SendCommand to insert a block and I found
it very unstable. Sometimes it would work and sometimes it wouldn't. I
haven't had a problem since going to the EvalLispExpr method.

Give it a try.
Good Luck

--
Mark Smith
Air Gage Co.
masmith@airgage.com

Dennis Campbell wrote in message
news:7us7fe$mhg17@adesknews2.autodesk.com...
> Is there any way when using VBA to move objects either with the
object.move
> or the SendCommand that will allow a ghost image of the objects to appear
> while
> picking the destination point?
>
> Any help would be greatly appreciated!
> Dennis
>
>
0 Likes
Message 3 of 3

Anonymous
Not applicable
Mark,

Your Mixing up SendCommand with SendKeys (or SendMessage). SendCommand is
only available in A2K as part of AutoCAD's Object Model - and it is
probably quite a bit more stable than SendKeys or Sendmessage.

--
Phillip Kenewell
CAD Systems Technician
Air Gage Company
pkenewell@airgage.com
===================
> Not < a Member of the AutoDESK
Discussion Forum Moderator Program

Mark Smith wrote in message
news:7us9k4$mhf13@adesknews2.autodesk.com...
> I don't think that there is a way to get the ghosting with the object.move
> method. You should be able to see get it with the SendCommand. Make sure
> that your dragmode variable is set to Auto (I believe that is the correct
> setting).
>
> Just a suggestion. You may have better luck using EvalLispExpr within
> acadunsupp.arx. I was using the SendCommand to insert a block and I found
> it very unstable. Sometimes it would work and sometimes it wouldn't. I
> haven't had a problem since going to the EvalLispExpr method.
>
> Give it a try.
> Good Luck
0 Likes