AutoCAD 2007/2008/2009 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
ScaleListE dit Macro
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I am working in AutoCAD 2008, and find that it runs slowly due to annotative scales embedded in the drawing. I frequently use the "Scalelistedit" command to reset the scales embedded in the drawing. I would like to write a macro, or lisp routine, that runs the "Scalelistedit" command as part of the "Qsave" command. I have written the macro, but would like to assign it to my alias "Q" for "qsave" so it runs automatically upon saving. The macro string that I was trying to use is: "_scalelistedit;r;y;e;qsave", however it does not seem to function correctly. I cannot find anything on the web about how to assign this macro to the alias "Q". Any suggestions?
Thanks,
Kurt
Re: ScaleListE dit Macro
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
>> however it does not seem to function correctly
Means what? Crash? Error message? ....?
BTW: I would start the command SCALELISTEDIT with a dash ( _-SCALELISTEDIT ), otherwise you would get the dialog opened.
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: ScaleListE dit Macro
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Alfred,
Ok, I fixed the underscore to a dash, but I still cant figure out how to run the macro, ie. assign a button or alias.
Re: ScaleListE dit Macro
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
>> cant figure out how to run the macro, ie. assign a button or alias
To create a button in your menu you have to use command _CUI and use the syntax above.
If you need that as lisp then you can use the simple (command "...") type like:
(defun C:QS() (command "_-SCALELISTEDIT" "_R" "_Y" "_E")(command "_QSAVE"))
That lisp loaded brings you the new command called QS that should do what you are looking for (at least I hope so
)
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
