Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted

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

Posted

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

Posted
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. 8)

 

Now to figure out the the roll-over part.

 

AFAIK - LISP does not support mouse Events (i.e., rollover, etc.); this *may* require .NET :geek:

 

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

Posted

Thank you very much. :D

 

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

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...