Jump to content

Recommended Posts

Posted

I'm trying to load 3 separate linetypes and keep getting the following error:

 

"Bad definition of CHAIN_LINK at line 2 file............"

 

Any help?

Posted

There is something wrong with the definition of the linetype therefore AutoCAD can't load it. Were you attempting to do some customization?

 

Sample linetype definition taken from acad.lin:

 

*FENCELINE1,Fenceline circle ----0-----0----0-----0----0-----0-- This is line 1.

A,.25,-.1,[CIRC1,ltypeshp.shx,x=-.1,s=.1],-.1,1 This is line 2 where you are having your problem.

Posted

I have three custom linetypes...below are the definitions for all three...can I just add these lines to the acad.lin?? If so...how do I need to rewrite them?

 

*CHAIN-LINK, Chain Link Fence without spaces

A,.75,-.0325,[CIRCLE,AECCLAND,x=-.0325,s=.0325],-.0325,.5

 

*CHAIN_LINK,Chain Link Fence

A,1.001427,-.216955,[X,chain-link-fence,s=1],-.180741

 

*CHAIN_LINK2,Chain Link Fence

A,1.001427,-.216955,[X,chain-link-fence,s=1],-.100741,-.216955,[X,chain-link-fence,s=1],-.180741

 

Thank you for your help.

Posted

Yes, you could, if you really wanted to, append them to the acad.lin file or you could create a new .lin file (maybe call it MyLines or CustomLines).

 

Sorry, but I don't have time to test each linetype at the moment.

Posted

The line type is referencing a Text Style that you do not have in the drawing - AECCLAND. Create this text style and you will have no problems loading the linetype. :D

Posted

*CHAIN-LINK, Chain Link Fence without spaces
A,.75,-.0325,[CIRCLE,AECCLAND,x=-.0325,s=.0325],-.0325,.5

 

On further inspection, the linetype does not make sense. If it references a text style, then it would use characters from the text. Circle is not a character.

 

If there is a shape file AECCLAND which contains the character "Circle", then the file name should have the .shx extension.

 

So that linetype definition is a hodgepodge and might be simple to correct.

Posted

Figured it out!

Had to actually modify the main acad.lin...and was missing a few fonts. Might be an easier way but everything works now. Thanks all!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...