Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Leader Customization 1

Status
Not open for further replies.

cparnell

Mechanical
Sep 23, 2002
71
I have a number of common text statements that I use when I start a drawing. (1" x 2" STRUCT TUBING, 2" x 2" STRUCT TUBING, 1" x 1" ANGLE IRON) etc. One file may contain several frame drawings that use these over and over. When I do start a drawing, I begin placing these and use ctrl + c to copy 1" x 2" STRUCT TUBING and ctrl + v to paste it when I start the leader command, to try to speed up the process. I am aware of the options under the leader command, settings that include; Block Reference, Reuse next, Reuse current. I am looking for something that is quick.
Is there a LISP routine, or other method that I can use like the clip board that will hold each one of these text statements so I can use ctrl + what ever letter command to insert them into the leader mtext dialog box?

Thanks for any help. Any suggestions would be appreciated.

I just found this forum a few weeks ago and enjoy it. Thanks for everyones input. Charles S. Parnell
Southern Store Fixtures
 
Replies continue below

Recommended for you

Dear cparnell

Method 1: Using Toolbuttons.
1- Enter the command TOOLBAR.
2- Activate the "Command" tab and create a new
button (User defined button).
3- Click on new created button to activate the
"Button Properties" tab.
4- Enter the below expression in th field "Macro
associated with this button".

^C^C(command "QLEADER" pause pause "" "" "Farzad" "")

Replace the string "Farzad" with the required
string.
5- Click on the "Apply" button.
6- Click on "Close" button.

The new created button does what you want.

Method 2: Using Shortcut Keys.
1- Open the file ACAD.MNS in AutoCAD "Support"
folder, using a text editor.
2- Find the ACCELERATORS section in the file.
3- Enter the following expression below the
ACCELERATORS.

[CONTROL+"Q"]^C^C(command "QLEADER" pause pause "" "" "Farzad" "")

Replace the string "Farzad" with the required
string.
4- Save the file.
5- Activate the AutoCAD environment.
6- Enter the command "MENULOAD".
7- In dialog box select the option "Replace All".
8- Using the "Browse" button, select the file
ACAD.MNS .
9- Click on "Load" button.
10- Click on "Close" button.

Now the shortcut key "Ctrl+Q" does what you want.
You can create how many shortcut keys you need. But
Keep in mind do not use the already defined keys.

:)
Farzad
 
Farzad:

Thank you for your responce. I will try your method. Charles S. Parnell
Southern Store Fixtures
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor