Easy for someone - How to call blocks clicking on the screen

Easy for someone - How to call blocks clicking on the screen

derik_kailer
Observer Observer
529 Views
4 Replies
Message 1 of 5

Easy for someone - How to call blocks clicking on the screen

derik_kailer
Observer
Observer

I'm trying to do a LISP that i choose one point on screen, and choosing this point a little window appears, asking me which block i want to insert. Situation: this LISP will be used in energy poles projects, i already have each pole dranw in my computer, just dont know how to put them inside my project. obs:. i use Ctrl C Ctrl V hahaha =/

0 Likes
Accepted solutions (1)
530 Views
4 Replies
Replies (4)
Message 2 of 5

Libbya
Mentor
Mentor

Instead of trying to push the river, you might consider swimming in it.  AutoCAD has many very convenient ways to insert blocks, e.g. insert command, tool palettes, design center, drag drop block file, copy paste, etc, etc, etc...  Rather than attempting to use custom code, you might consider using one of those options. 

Message 3 of 5

chadwickt
Advocate
Advocate
Accepted solution

If I am understanding you correctly, I think that a dynamic block with visibility states would work. Since you already have the individual blocks you can combine them into one block, creating a visibility state for each. This will give you a drop-down arrow that you can click on to select the block you want to display.

 

Here is a link to a class I did at Autodesk University. At the 23:00 mark I get into the process. There is also a handout there to step you through the process.

http://au.autodesk.com/au-online/classes-on-demand/class-catalog/2015/autocad/gen11219#chapter=0

 

I hope that helps!

Message 4 of 5

derik_kailer
Observer
Observer

woow you helped a lot, i'll follow the tutorial, and i have sure that this will improve my job!! 

0 Likes
Message 5 of 5

chadwickt
Advocate
Advocate
That is great to hear. If you have any questions let me know!
0 Likes