The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 Tips and Tricks
 Changing text width factor

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

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!

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.11 seconds. Snitz Forums 2000