Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

bad definition when loading Complex Linetype

Status
Not open for further replies.

mable

Mechanical
Mar 10, 2003
8
I have made some shape files and compiled them. I then tried to incorporate the shapes into some new linetypes but, when I try to load the linetype I get an error "bad definition on Lin1Signal at line 29 of file z:\acad14\linetypes\pid.lin." Here are lines 28&29 from my complex linetype definition.

*lin1Signal, --- [LIN1] --- [LIN1] --- [LIN1] (line 28)
A,.25,-.1,[lin1,pid.shx,X=-.1,S=.1],-.1,1 (this is line 29)

Lin1 is the name of the character defined in my pid.shp file and pid.shx is the compiled version of my pid.shp file. I can use the pid.shx file without any problems in a drawing but, I can not get it to work in my linetype. Anyone know what the problem is? These are the results when I tried substituting other fonts that came with autocad. (I have tried the CIRC1 using ltypeshp.shx in place of lin1 and pid.shx not changing anything else and it works.)(While using the kexc using gdt.shx gives me the same error as if I were using the pid.shx font file)The strange thing about ltypeshp.shx (the one that works) is that I can not load the font file from the style dialog box but, the other 2 I can even though it is in my autocad\support directory.
 
Replies continue below

Recommended for you

Here's something to try:
Use capital letters for character name. Don't know if it needs to be, but seems that's the standard used in acad.lin.
 
CarlB, Thanks for the help. I solved the problem. (The capital letters that you mention save the name into memory and if they are lower case it does not.) I had an error in my shape file even though it was compiling.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor