The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 Tips and Tricks
 Changing text width factor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alfienoakes
Super User

30 Posts

Posted - May 01 2003 :  09:21:32 AM  Show Profile  Reply with Quote
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!

R

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - May 01 2003 :  10:10:25 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
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!

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

BK
Super User

36 Posts

Posted - May 01 2003 :  11:27:20 AM  Show Profile  Visit BK's Homepage  Reply with Quote
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
Go to Top of Page

alfienoakes
Super User

30 Posts

Posted - May 07 2003 :  05:10:46 AM  Show Profile  Reply with Quote
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

R
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000