Tipo166 Posted November 14, 2008 Posted November 14, 2008 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. Quote
SEANT Posted November 14, 2008 Posted November 14, 2008 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. Quote
rocheey Posted November 15, 2008 Posted November 15, 2008 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? Quote
SEANT Posted November 15, 2008 Posted November 15, 2008 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. Quote
Recommended Posts
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.