T O P I C R E V I E W |
alfienoakes |
Posted - May 01 2003 : 09:21:32 AM I have posted this to Hurricane support but just in case there is someone out there who knows.
I want to change the width factor of all the text entities in a batch of drawings using a script.
Does anyone know how I can do this.
Cheers! |
3 L A T E S T R E P L I E S (Newest First) |
alfienoakes |
Posted - May 07 2003 : 05:10:46 AM Thanks Guys
I knew there was something like this around as I above been using AutoCAD since 1985, Rev 2.01 I think. Usiing 2000 I couldn't find the command, 'coz it's not there.
Robert |
BK |
Posted - May 01 2003 : 11:27:20 AM Thanks Miksteele!
Actually, it is posted in the "Lisp and Other Handy Utilities" Section
Here is a link to the message...
http://www.74mph.com/forum/topic.asp?TOPIC_ID=50
Regards, BK |
Miksteele |
Posted - May 01 2003 : 10:10:25 AM Width factors for dtext should be pretty easy using CHTEXT lisp routine. Here is a sample script…
;BEGIN SCRIPT (LOAD "C:/yourfolder/anotherfolder/lispfolder/CHTEXT.LSP") CHT ALL
W 2 ;END SCRIPT
To write a script...try doing it manually, (typing at the command promt), copy and paste the portion of your F2 window into Hurricane's CAPTURE utility...I works great! Start with one drawing to mess around...trial and error is the name of the game.
You may already have chtext.lsp, Autodesk at one time bundled it with the AutoCAD software. Try searching your autocad program folder, if not it may already be posted on this site?
Good Luck! |