Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

why do my custom line types look different in new drawing?

12 REPLIES 12
Reply
Message 1 of 13
cadman33619
2382 Views, 12 Replies

why do my custom line types look different in new drawing?

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

12 REPLIES 12
Message 2 of 13
Jeff_M
in reply to: cadman33619

They are probably defined using a style and/or font not available in the new drawing.

Jeff_M, also a frequent Swamper
EESignature
Message 3 of 13
cadman33619
in reply to: Jeff_M

how can i check what font is used to define them? the only thing i see defined is the STANDARD text style

Message 4 of 13
Jeff_M
in reply to: cadman33619

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)
  )

 

Jeff_M, also a frequent Swamper
EESignature
Message 5 of 13
rkmcswain
in reply to: cadman33619

Check the font assigned to the style defined in the linetype and check to see if that style has a fixed text height.

R.K. McSwain     | CADpanacea | on twitter
Message 6 of 13
cadman33619
in reply to: rkmcswain

Message 7 of 13
troma
in reply to: cadman33619

If you are talking about the lisp that Jeff posted

 

  1. Save it as getstyleinlinetype.lsp (note lsp extention)
  2. Type APPLOAD, browse to saved location and load
  3. Type getstyleinlinetype to run it.

Mark Green

Working on Civil 3D in Canada

Message 8 of 13
cadman33619
in reply to: troma

tried the steps, troma. it tells me "unknown command"

 

is there another way i can fix the linetype?

Message 9 of 13
Jeff_M
in reply to: cadman33619

Post the 2 drawings, one where it displays as expected, the other where it doesn't.

 

Jeff_M, also a frequent Swamper
EESignature
Message 10 of 13
cadman33619
in reply to: Jeff_M

here is a shot of both the good telco linetype and the bad one. both are the same linetype file. 

Message 11 of 13
troma
in reply to: cadman33619

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

Message 12 of 13
cadman33619
in reply to: troma

dammit...why didn't i think of that. worked like a charm !

thanks troma

Message 13 of 13
rkmcswain
in reply to: cadman33619


@cadman33619 wrote:


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.

R.K. McSwain     | CADpanacea | on twitter

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report