Insert Block with Ghost (again) - Solution!

Insert Block with Ghost (again) - Solution!

Anonymous
Not applicable
396 Views
4 Replies
Message 1 of 5

Insert Block with Ghost (again) - Solution!

Anonymous
Not applicable
I've written a class that allows a user to drag a
block around the screen before inserting it in VBA.  It works in both paper
and model spaces, and can restrict the user's point to be horizontal or vertical
from a reference point.

 

It uses NO ObjectARX.  You must download and
reference Paul Marshall's MouseTracker.dll file (get it
href="http://www.vbdesign.net/cadpages/community/paulmarshall/mousetracker.zip">here
).

 

I don't read this newsgroup much.  I don't
know if someone else has already done this.  If you want me to post it to
the newsgroup, reply via email (remove the nospam from the
address).
0 Likes
397 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
> It uses NO ObjectARX.

You'd be much better served using an ARX helper unless you have a clear
understanding of subclassing and the problems it can cause if used
improperly.

For safety and performance, I'd recommend using Tony T.'s AcadX.arx.
There are at least two classes in there that can help with this sort of
thing.

Here's his address: http://www.caddzone.com

--
There are 10 kinds of people:
Those who understand binary and those who don't
http://www.acadx.com
http://vbxtender.sourceforge.net
0 Likes
Message 3 of 5

Anonymous
Not applicable

Tony's AcadX requires a licensing fee that we aren't
really interested in paying.  Yes, my class does use subclassing, but it's
safe - I certainly can't crash it, and it performs just like the built-in
ghosting from the INSERT command.  It's indistinguishable.


> For safety and performance, I'd recommend using
Tony T.'s AcadX.arx.


> There are at least two classes in there that
can help with this sort of


> thing.

0 Likes
Message 4 of 5

Anonymous
Not applicable
>

Tony's AcadX requires a licensing fee that we aren't
> really interested in paying.

Are you planning on distributing your application? It can be used for
free for in house use.

--

Darren J. Young
dyoung@mcwi.com

Autodesk Developer Network
AUGI Inventor Product Chair

Minnesota CADWorks, Inc.
PO Box 1172
Monticello, Minnesota 55362-1172
(763) 295-4433
http://www.mcwi.com
ftp://ftp.mcwi.com

0 Likes
Message 5 of 5

Anonymous
Not applicable
> Tony's AcadX requires a licensing fee that we
> aren't really interested in paying.

Unless you're looking to distribute the code that uses Tony's component
in compiled or source form, no fee is required.

--
There are 10 kinds of people:
Those who understand binary and those who don't
http://www.acadx.com
http://vbxtender.sourceforge.net
0 Likes