View Full Version : Load Linetypes error
nnutting
13th Feb 2012, 07:54 pm
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?
ReMark
13th Feb 2012, 07:56 pm
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.
nnutting
13th Feb 2012, 08:17 pm
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.
ReMark
13th Feb 2012, 08:22 pm
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.
eldon
13th Feb 2012, 09:06 pm
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
eldon
13th Feb 2012, 09:44 pm
*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.
nnutting
13th Feb 2012, 11:02 pm
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!
Powered by vBulletin™ Version 4.1.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.