skipsophrenic Posted October 22, 2009 Share Posted October 22, 2009 Every timpe i try to load my linetypes I keep getting the folliwing error message, Have tried re-boout, no joy, any Ideas? Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 22, 2009 Share Posted October 22, 2009 AutoCAD doesn't like something about the particular linetype definition file. Did you do any recent customizing of ZIGZAG? BTW...a reboot will do nothing to fix a linetype definition problem. Quote Link to comment Share on other sites More sharing options...
dbroada Posted October 22, 2009 Share Posted October 22, 2009 lin files are text files so open it with notepad and look at line 128. Does it follow the same format as all the lines around it? Sometimes it is as simple as a missing comma. If there appears to be an obvious difference modify the file in notepad, save it and open the drawing again. Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 22, 2009 Share Posted October 22, 2009 BTW...ZigZag is a standard AutoCAD linetype. Normally I wouldn't recommend tweaking it. I'd create a duplicate of it (call it ZigZag2 or MyZigZag) and tweak that instead. Bad line. Bad, bad, bad. Quote Link to comment Share on other sites More sharing options...
NBC Posted October 22, 2009 Share Posted October 22, 2009 any chance you would copy and paste here the line definition for ZIGZAG from that lin file ? Quote Link to comment Share on other sites More sharing options...
skipsophrenic Posted October 22, 2009 Author Share Posted October 22, 2009 i'll have a look, see if i can find it, but they've somehow locked a lot of files on my computer, i keep getting the "need to be an administrator" message Quote Link to comment Share on other sites More sharing options...
lpseifert Posted October 22, 2009 Share Posted October 22, 2009 The OOTB Zigzag linetype uses a shape defined in the ltypeshp.shx file. Make sure acad can find that file. Try typing (findfile "ltypeshp.shx") at the command line to see if the file is in acad's support path. Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 22, 2009 Share Posted October 22, 2009 We know what's best for you. IT All that power in the hands of the ill-informed. A pox on their kind I say. Quote Link to comment Share on other sites More sharing options...
skipsophrenic Posted October 22, 2009 Author Share Posted October 22, 2009 found it acadiso.txt Quote Link to comment Share on other sites More sharing options...
skipsophrenic Posted October 22, 2009 Author Share Posted October 22, 2009 The OOTB Zigzag linetype uses a shape defined in the ltypeshp.shx file. Make sure acad can find that file. Try typing (findfile "ltypeshp.shx") at the command line to see if the file is in acad's support path. finds it no problem here's what the command line returns. "C:\\Documents and Settings\\PSmith2\\Application Data\\Autodesk\\AutoCAD 2008\\R17.1\\enu\\support\\ltypeshp.shx" Quote Link to comment Share on other sites More sharing options...
lpseifert Posted October 22, 2009 Share Posted October 22, 2009 Your Zigzag definition is the same as mine in Acadiso.lin. I'm at a loss.... Try inserting the shape Zig (Shape > Zig). If that doesn't work, try loading the ltypeshp.shx file (Load). Quote Link to comment Share on other sites More sharing options...
skipsophrenic Posted October 22, 2009 Author Share Posted October 22, 2009 No joy, Man this is going to bug me. bet when the answer shows up it'll be simple Quote Link to comment Share on other sites More sharing options...
lpseifert Posted October 22, 2009 Share Posted October 22, 2009 No joy as in you can't insert the shape Zig and/or can't load the ltypeshp.shx file? Try the Shape command, ?, * to list the shapes loaded and from what .shx file. Is there a Zig... is there any from ltypeshp.shx? Quote Link to comment Share on other sites More sharing options...
skipsophrenic Posted October 22, 2009 Author Share Posted October 22, 2009 simplex.shx, nothing else Quote Link to comment Share on other sites More sharing options...
the_real_ptb Posted October 22, 2009 Share Posted October 22, 2009 Don't mean to hijack, but I have a similar problem. My shape does load and I can insert a copy of it into my drawing using the SHAPE command. When I try to call the shape with my custom linetype definition, I get an error reading the line that is calling the shape. The custom line worked fine in 2009, when we upgraded to 2010 it no longer works. Any ideas on what the problem could be? Quote Link to comment Share on other sites More sharing options...
CarlB Posted October 23, 2009 Share Posted October 23, 2009 I think the problem with line 128 is that there is not a blank line. I know acad.lin requires a blank line at the very end, it may need a blank line before a line starting with a comment. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.