fluppe Posted December 16, 2011 Posted December 16, 2011 Hello, Another program (not autocad) creates dwg files. when I open these files the textstyle standard is wrong. the textfont must be arial width factor must be 0.8 oblique angle must be 0 Can someone help me with a small routine that can adjust the textfont? Now i always have to make the adjustements manually and sometimes this is a repetitive job and takes some time. Filip Quote
ReMark Posted December 16, 2011 Posted December 16, 2011 (edited) So you want to globally change the text style for all the text in the drawing right? Could you do this with a macro? Does LT 2011 have a feature called the Action Recorder? Edited December 16, 2011 by ReMark Quote
eldon Posted December 16, 2011 Posted December 16, 2011 I suppose that merely changing the Font Name in the current text style and Applying would be too easy Quote
fluppe Posted December 16, 2011 Author Posted December 16, 2011 I tried the action recorder,in trial version acad2012, but that was not a help. I was thinking of a lisp routine that I can open in my drawing... When you open de textstyle editor you can change the textsettings. I hoped that those settings could be changed by some kind of script... but a script always opens the textsyle window... Quote
ReMark Posted December 16, 2011 Posted December 16, 2011 You are using AutoCAD LT and as such you do not have the ability to run lisp routines. The Action Recorder would be the best way to go. Another option would be to use a diesel macro. The Text Style window in 2011 does not necessarily have to open if you use the command line version of the STYLE command. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.