Hi....
i have line types i created for telco and electric...basically a letter T within lines and a letter E within lines. they look just fine in one drawing but now i'm in another drawing started by someone else and i need to use them but the letters are tiny and off center.
how can i correct this?
thanks
how can i check what font is used to define them? the only thing i see defined is the STANDARD text style
You can use this little lisp to list the style & font used by a linetype with text in it.
(defun c:getstyleinlinetype (/ ltname lt style) (if (and (setq ltname (getstring "\nEnter name of linetype: ")) (setq lt (tblobjname "LTYPE" ltname)) (setq lt (entget lt)) (assoc 340 lt) ) (progn (setq style (entget (cdr (assoc 340 lt)))) (princ (strcat "\nThat linetype uses textstyle \"" (cdr (assoc 2 style)) "\" which uses the Font \"" (cdr (assoc 3 style)) "\"")) ) (progn (princ "\nThat linetype does not exist or does not use a text object.") ) ) (princ) )
Check the font assigned to the style defined in the linetype and check to see if that style has a fixed text height.
rkmcswain.... in the linetype file, the text style does have a height defined (.06) and the text style defined in the linetype (standard) has the romans font assigned to it.
i tried using the script but i'm afraid i don't understand the output. i copied the script into a wordpad file and gave it a name with a .scr extension then dragged it into acad to run it. is that the correct way to use it?
thanks guys
If you are talking about the lisp that Jeff posted
Mark Green
Working on Civil 3D in Canada
tried the steps, troma. it tells me "unknown command"
is there another way i can fix the linetype?
here is a shot of both the good telco linetype and the bad one. both are the same linetype file.
Start a new drawing from your good template where everything works.
Copy/Paste ALL from the other drawing.
Mark Green
Working on Civil 3D in Canada
@cadman33619 wrote:
@rkmcswain.... in the linetype file, the text style does have a height defined (.06)
That is most likely your problem. Set the fixed text height to ZERO.
I see you worked around it by starting a new drawing, but knowing how to fix it in the future could save you some time.