PDA

View Full Version : Creating custom pull down menus


pdf
19-02-2004, 02:14 PM
Here is my goal:

I want to create custom pull down menus for many of the typical graphics that I use from our "library". I have been unsuccessful with my research so far, does anyone have any suggestions?

P.S. Here is an example of my desired results:

1. Click on a pulldown named "titleblocks".
2. Select the desired titleblock to be automatically DDInserted.
3. The titleblock selected is now inserted into the file either manually or automatically with a predetermined point of origin.

Thanks for your help.

YosSa
19-02-2004, 10:49 PM
You make the pull-down in the .mns file u use

If you want to insert a block automaticly, i would suggest you make a LISP file for that and you call this LISP file from you're menu.

architech
26-02-2004, 07:39 PM
I don't know how to briefly explain how to manipulate a "NEW" pull down. This is a long process but here's a "Mickey Mouse" explianation with examples.

Pretty much you need to create a text file using NOTEPAD.
Then loaded it in AutoCAD. AutoCAD will then compile the text in code.

So .....
[type] menuload
[enter key]
browse ....
open...
and add ... etc....

You should, ALSO, add the path to your search path. This path should be the new folder you create where you keep your new menu.

I'm supplying 2 menus. One that is very detailed and over done ... in my opinion. And another that you can use as you base.

Play around with it ....
You might be able to figure it ....

NOTE:
Be aware of search paths ... typed within the MNS file.
And copy and paste lines over and over again ...
AND change only the paths & file names....

This should really give you a quick leg up on making Pull Downs ....


Hope that helps .... 8)