×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

bad definition when loading Complex Linetype

bad definition when loading Complex Linetype

bad definition when loading Complex Linetype

(OP)
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.

RE: bad definition when loading Complex Linetype

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.

RE: bad definition when loading Complex Linetype

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources