NEXTMARCUS Posted January 15, 2013 Posted January 15, 2013 Hi everyone! i need to create a new linetype in autocad but i dont know how to create the linetype below. - + - + - + - + - can someone help me? i dont know how to put the cross with the same length of the dash in the patern. sorry about my very bad english. Thanks Quote
ReMark Posted January 15, 2013 Posted January 15, 2013 One way would be to use a shape. I'm pretty sure there is one additional way it can be done but it escapes me at the moment. Quote
MSasu Posted January 15, 2013 Posted January 15, 2013 Something like this? *NEXTMARCUS, NextMarcus line -+-+-+-+-+-+-+-+-+-+-+-+- A,0.03,-0.01,["+",STANDARD,S=0.05,R=0.0,X=0.0,Y=-0.025],-0.05 Quote
NEXTMARCUS Posted January 15, 2013 Author Posted January 15, 2013 I think its the only linetype that i need to use a shape , the others i`ve created are similar to the presents in the acad.lin so i just modify it. Quote
NEXTMARCUS Posted January 15, 2013 Author Posted January 15, 2013 (edited) Thanks a lot , Msasu Edited January 15, 2013 by NEXTMARCUS Quote
ReMark Posted January 15, 2013 Posted January 15, 2013 See, I told you there was another way to do it. Thanks MSasu. Quote
Ridation Posted January 18, 2013 Posted January 18, 2013 Hi , did not want to open a new topic and did not find my question in forum , so ... I do not see too much linetypes in properties , I use 2013 . I used to see lots of linetypes but right now I just have 5 . The worst part is there is no ( _ . _ . _ ) to be used for section line ! Quote
ReMark Posted January 18, 2013 Posted January 18, 2013 Even plain AutoCAD has more than 40 available linetypes. Did someone try editing the file and delete many of the definitions? Quote
ReMark Posted January 18, 2013 Posted January 18, 2013 Ridation: Do you know what the name of the LIN file is in your version of AutoCAD. For example, in plain AutoCAD it is called acad.lin. There is a way to find the path to the file by using the FINDFILE command in AutoCAD by typing (findfile"acad.lin"). AutoCAD returns the path to the file which looks something like this: "C:\\Users\\UersNameHere\\appdata\\roaming\\autodesk\\autocad 2013 - english\\r19.0\\enu\\support\\acad.lin" Quote
Ridation Posted January 18, 2013 Posted January 18, 2013 No , this is a little strange ... I do not know what happened but I am almost sure that the CAD files or configs had no changes . Can I add default linetypes ? Quote
ReMark Posted January 18, 2013 Posted January 18, 2013 Add them? I guess so. Do you have a copy of the acad.lin file? That would be a start. However, you have to know the name of the file you want to edit and where it is on your hard drive. Do you have that information? Is this a new installation? Quote
Ridation Posted January 18, 2013 Posted January 18, 2013 tried the command , was unknown command , Quote
irneb Posted January 21, 2013 Posted January 21, 2013 Note the ACAD.LIN file contains the definitions to be loaded into the DWG. After that the linetypes are inside the DWG. They can be purged out if they're not used. You can always reload them from the LIN file again. Type LT to open the Linetype Manager dialog. Then click the Load... button. It should already display all the linetypse available inside the ACAD.LIN/ACADISO.LIN file (depending on your settings), select those you want (Ctrl or Shift to select more than one), click OK and possibly Reload if you wish to update the linetype definition into the DWG. If it doesn't list any linetypes or only some in the "Load or Reload Linetypes" dialog - then there's some error with your setup. As for the findfile not being a command: that's correct it's a lisp function. So you should use it including an open/close-parenthesis pair like so: Command: (findfile "acad.lin") "C:\\Users\\<UserName>\\appdata\\roaming\\autodesk\\aca 2013\\enu\\support\\acad.lin" Quote
NEXTMARCUS Posted January 22, 2013 Author Posted January 22, 2013 I find another way to create a linetype easily, is the comand mkltype, its very usefull Sorry about my very bad english. Quote
ReMark Posted January 22, 2013 Posted January 22, 2013 While there are a couple of ways to create custom linetypes I think using MKLTYPE would not be the best choice in this situation. Quote
irneb Posted January 23, 2013 Posted January 23, 2013 You could use MKLTYPE (Express Tool) to generate the framework of the linetype. But you'll need to edit that manually to include the shape/character to make the crossing lines. MkLType only works on "simple" linetypes - i.e. only dots, dashes & gaps, no shapes / characters. Of course this is also not the issue Ridation had: i.e. linetypes purged out of the DWG. Quote
NEXTMARCUS Posted January 23, 2013 Author Posted January 23, 2013 (edited) Ho of course , i find a way to create it using mkltype with an existing shape i just draw the symbol i want and used the comand mkshape, after save the shape draw it again and used mkltype to create the new linetype. SHAPE: *1,58,TEST 4,250,4,4,3,113,3,89,3,18,002,9,(64,64),(0,0),001,9,(-127,-127),(-1,-1),(0,0),002,9,(0,127),(0,1),(0,0),001,9,(127,-127) (1,-1),(0,0),002,9,(-64,64),(0,0),001,4,18,4,89,4,113,3,4,3,250,0 LINETYPE: *TESTEX,-X-X-X-X-X- A,1,-.453019,[TEST,C:\Documents and Settings\marcus-ramalho\Desktop\testshape,s=1],-.453019,1 Result: Edited January 29, 2013 by NEXTMARCUS Quote
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.