Jump to content

(VBA) ghost object image while copying, stretching, inserting etc.


Recommended Posts

Posted

Hello All, happy friday:

I am wanting my functionality to "ghost" ,for lack of a better word, while in mid command (VBA) -inserting, copying etc. just as AutoCAD does when these options are directly selected from std menus toolbars or command line. I cant think of another word to search the forums by so sorry if this is old hat. Can someone point me to a command/method/ or procedure that would help?

thanks for your help.

attachment.php?attachmentid=8180&stc=1&d=1226698441

acadghost.jpg

Posted

Sadly, VBA has very limited "ghosting" capabilities. With The exception of "RubberBanding" via Thisdrawing.Utility.Getpoint - and similar with some of the other "Get. . . ." methods, the best VBA can do is try to coordinate the use of SendCommand.

 

Lisp, .NET and ARX are all more capable with regard to interactive visual feedback.

Posted
Sadly, VBA has very limited "ghosting" capabilities. With The exception of "RubberBanding" via Thisdrawing.Utility.Getpoint - and similar with some of the other "Get. . . ." methods, the best VBA can do is try to coordinate the use of SendCommand.

 

Lisp, .NET and ARX are all more capable with regard to interactive visual feedback.

 

I gotta ask, before i waste time trying this - has anyone here tried using the API, and drawing the 'rubberband' right to the hdc of the acad window, much like one would do in VB on a picturebox?

Posted

I haven’t. It would be interesting to see how it would perform, though. If I had to guess, I’d say it would not update fast enough. Well, at least not nearly as fast as AutoCAD’s native rubberbanding capabilities.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...