Da CAD guy Posted December 16, 2011 Posted December 16, 2011 I use simple actions in ACAD and am trying to learn more about it. Is there a way to program a lisp to magnify a square when your curser rolls over it? As well as show another shape (let's say a polyline, text or another drawing)? I also would like to be able to select the square/magnified shape and open another .dwg. I have seen it done in Microstation a long time ago and would like to do the same in ACAD. Thanks, Dave Quote
ReMark Posted December 16, 2011 Posted December 16, 2011 You want to do all this with one lisp routine: 1. Magnify drawing entities 2. Change the shape of the magnifier 3. Open a second drawing The first two I can understand but the third one puzzles me. Could you explain why that would be necessary to combine with the first two? Thanks. Quote
ReMark Posted December 16, 2011 Posted December 16, 2011 No response? OK. Many people don't realize that Windows itself has a built in desktop magnifier. Rather than try to explain it here I'll give you a link that does a much better job. http://ltunlimited.typepad.com/my_weblog/2011/07/desktop-magnifying-glass.html Quote
Da CAD guy Posted December 19, 2011 Author Posted December 19, 2011 ReMark, Sorry about the delayed response. I am about 10hrs difference form you and my internet was cut-off this weekend. I record utilities of an area about the size of a large university. The magnifier is good but, I am looking for something like viewing another dwg I have in my folders. Each square would be linked to a specific external .dwg. So in essence the "roll-over" of the square would show the shape and contents of the external drawing at 3-4 times the current size of the square in the model space view and a select/left click would open the .dwg for editing. Thanks for the other info. Dave Quote
BlackBox Posted December 19, 2011 Posted December 19, 2011 Have you considered using the HYPERLINK command? I recall this helping someone who once needed a means of (hyper-)linking safety / accident reports to specific locations within a power plant via CAD... Perhaps you could benefit from this as well. HTH Quote
Da CAD guy Posted December 20, 2011 Author Posted December 20, 2011 As soon as I read the word "Hyperlink" I had a Homer Simpson moment. That link you gave was great, as soon as I opened it and started reading the info I knew that I could get that part done. Now to figure out the the roll-over part. Dave Quote
BlackBox Posted December 20, 2011 Posted December 20, 2011 As soon as I read the word "Hyperlink" I had a Homer Simpson moment. That link you gave was great, as soon as I opened it and started reading the info I knew that I could get that part done. Happy to help. Now to figure out the the roll-over part. AFAIK - LISP does not support mouse Events (i.e., rollover, etc.); this *may* require .NET You might want to consider taking screen shots of the drawings (as thumbnail) and pasting into your drawing, then add the hyperlink to the image. Just a thought. HTH Quote
Da CAD guy Posted December 20, 2011 Author Posted December 20, 2011 Thank you very much. I'll look into the .NET and consider the screen shot, though I already have the polylines in place. If I have a "Genius" moment and get something to work I'll post it. Dave 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.