TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Andrea on January 30, 2009, 03:53:29 PM
-
Hi all,..
i'm currently making some experience with AutoCAd block entities..
and i've made a simple program that detect the mouse coordinate when crossing
specific zone in specific block.
seeing that is work....i've made a sample of block containing diffrent image and
put some functions and events on mouse-click and mouse-mouve.
that have as result,....Dynamic Block Dialog.
I think the possibilties is unlimited.
- we can use specific zone on entire drawing...
- block made with AutoCAD entities
- specific zone on image
- specific zone on OLE object
etc..
we can change all options only to pick on specific block zone.
even run external files, script, hyperlink, menu etc..
to test DiablocK open the Diablock.dwg file, load the LSP and run Diablock.
why i've made this ?
i was curious to see if my idea was good. :-)
Please let me know what you think of.
Have a nice week end all.
-
Cool... HOWEVER...
I don't think it's a good idea to have to be limited to a particular place within a drawing to have to begin a command. I.E. if I'm drawing something in the west wing of a building and the DianblocK is on the east wing, I'm not going to pan to the other side just to start a command. Nor would I want my drawing to be littered with these blocks just so I can begin a command. With that said, while it IS kinda cool, I personally wouldn't use it.
-
this test is only for demo..
you can easely keep your block in your screen area. ^-^
and event...keep the size of it.
also...you can run diablock anytime...
this will show your block each time in the middle of your screen..;-)
-
C:DIAGO where is this function?
-
oops..
file updated..
replace the (c:diago) by (c:diablock)
sorry. ;-)
-
I can not get it to work here...no dialog created.
-
always forgot something when i post here... :lmao:
Thank you Gary..
I miss the image file..
Now,..I have check and re-check all before posting..
there is the updated routine.
-
Hi Andrea , nice work , most as a intellectual exercise, I love it.
What happen you when posting a lisp , often, and not to say always, happen me , to forget some defun or so.
I wonder how one can get , from a given lisp , to check if all needed defun are on the Lisp to ship.
Just a wish , in a bottle message thrown at the sea.
Thanks again for yours efforts and the good manner to share it.
Gabriel.
-
Nice work. You are coming up with some pretty cool stuff.
How about the ability to store info in the block (attribute or prefereable Xdata) and have it show up as the cursor crosses over it. I have a large composite drawing that stores data at certain locations and it would be nice to be able to read that info by just hovering the cursor over it. I have been trying to figure out how to do it but am not having much luck or time for that mater
-
Nice work. You are coming up with some pretty cool stuff.
How about the ability to store info in the block (attribute or prefereable Xdata) and have it show up as the cursor crosses over it. I have a large composite drawing that stores data at certain locations and it would be nice to be able to read that info by just hovering the cursor over it. I have been trying to figure out how to do it but am not having much luck or time for that mater
Try BUBBLE
see it at
http://www.bubblecad.com/en/bubble.htm
It is free , It shall be a MUST at ACAD
-
that would be exactly what I want. only problem is that everything that we use must be approved by the IT people. i can however use my own lsp files. I will check it out though.
Thanks for the link.