basty Posted November 23, 2023 Posted November 23, 2023 Can someone please tell me how do I make dash line like attached image below? Thanks Quote
ReMark Posted November 23, 2023 Posted November 23, 2023 Open acad.lin and find the dashed linetype that comes closest to the one you want to create and copy it. Open the copy (using NotePad) and modify it. Save it using a unique name. Place your new linetype in the same subfolder as the original acad.lin. In the Linetype Manager dialog box, click Load. In the Load or Reload Linetypes dialog box, use one of the following methods: Choose the linetypes to load. Click File to open a linetype definition (LIN) file and choose the linetypes to load. Quote
eldon Posted November 23, 2023 Posted November 23, 2023 (edited) Well it can be done, but only for lines that are an odd number of integer units in length. Can you comply with that absolutely necessary requirement? As shown in the picture below, the "A" type linetype can space the line as you want, but only for line lengths of integer odd numbers. If you are brave and try the "S" type linetype, it can do as you want for even integer lengths, but the end unit of the line has nothing (it is a space). Edited November 23, 2023 by eldon Quote
basty Posted November 23, 2023 Author Posted November 23, 2023 59 minutes ago, ReMark said: Open acad.lin and find the dashed linetype that comes closest to the one you want to create and copy it. Open the copy (using NotePad) and modify it. Save it using a unique name. Place your new linetype in the same subfolder as the original acad.lin. In the Linetype Manager dialog box, click Load. In the Load or Reload Linetypes dialog box, use one of the following methods: Choose the linetypes to load. Click File to open a linetype definition (LIN) file and choose the linetypes to load. Where do I find this acad.lin file? Quote
ReMark Posted November 23, 2023 Posted November 23, 2023 In the Support directory. Either acad.lin or acadiso.lin depending on the units being used. Quote
BIGAL Posted November 23, 2023 Posted November 23, 2023 We use a Custom.lin this way when we do an upgrade no need to hunt down Acad.lin etc. Anway what you want plus some more. *STATCON06,__ __ __ __ __ __ A,0.60,-0.60 *STATCON1,__ __ __ __ __ __ A,1.00,-1.00 *CONTINUITY12,______ ______ A,1.00,-2.00 *LANE39,____ _____ ____ A,3.00,-9.00 Just use linetype Load, I would suggest if you want to use often load the linetype into your preferred DWT then its available. Quote
basty Posted November 24, 2023 Author Posted November 24, 2023 Can I just use this? see attached image please. How do I set de length of the dashed line to 1 unit and the gap to 1 unit? Quote
eldon Posted November 24, 2023 Posted November 24, 2023 That line type has a dashed line length of 12 units and a space of 3 units. AutoCAD does not come with a linetype of one unit dashed line and one unit space. You have to write a new linetype definition as many of the posts above are telling you.. Quote
basty Posted November 24, 2023 Author Posted November 24, 2023 OK, this is the acad.lin file of my AutoAD 2014 (which is I change the file extension to .txt in order to open it using Notepad). Then what is the next step? acad.txt Quote
ReMark Posted November 24, 2023 Posted November 24, 2023 Depends on whether you want to add a new linetype, similar to the one BIGAL did above (ex. - Basty Line-A) or edit an existing linetype like DASHEDX2 which is included in the acad.lin file. Quote
basty Posted November 24, 2023 Author Posted November 24, 2023 OK, let say, I will edit the : *DASHED,Dashed __ __ __ __ __ __ __ __ __ __ __ __ __ _ A,.5,-.25 What to edit? Quote
ReMark Posted November 24, 2023 Posted November 24, 2023 The second line just like BIGAL displayed in a previous post. Quote
basty Posted November 24, 2023 Author Posted November 24, 2023 (edited) I tried following BIGAL suggestion but it doesn't work, what should I do? There are two .lin files in my AutoCAD 2014, they are acadiso.lin and acad.lin. Which file I should edit? Edited November 24, 2023 by basty Quote
basty Posted November 24, 2023 Author Posted November 24, 2023 I got this error message when edit the acadiso.lin file using Notepad: Quote
ReMark Posted November 24, 2023 Posted November 24, 2023 16 minutes ago, basty said: I tried following BIGAL suggestion but it doesn't work, what should I do? There are two .lin files in my AutoCAD 2014, they are acadiso.lin and acad.lin. Which file I should edit? You edit acad.lin if you are using imperial units or you edit acadiso.lin if you are using metric units. Quote
ReMark Posted November 24, 2023 Posted November 24, 2023 7 minutes ago, basty said: I got this error message when edit the acadiso.lin file using Notepad: Did you edit acadiso.lin, change the file type to .txt then copy it back to the subdirectory from which it came? You certainly have a penchant for misadventures. Quote
basty Posted November 24, 2023 Author Posted November 24, 2023 (edited) 2 minutes ago, ReMark said: Did you edit acadiso.lin, change the file type to .txt then copy it back to the subdirectory from which it came? You certainly have a penchant for misadventures. Yes. You said I should edit the file using Notepad. Edited November 24, 2023 by basty Quote
ReMark Posted November 24, 2023 Posted November 24, 2023 Yes, I did. However, now AutoCAD does not know what to make of the file since you changed the file type extension from .lin to .txt, understand? After editing you should have changed the file type extension back to its original format. Quote
basty Posted November 24, 2023 Author Posted November 24, 2023 This is what I do on the .acad.lin: *HIDDEN,Hidden __ __ __ __ __ __ __ __ __ __ __ __ __ __ A,1.00,-1.00 But it doesn't works, the line is still longer than the space. Quote
ReMark Posted November 24, 2023 Posted November 24, 2023 16 minutes ago, basty said: This is what I do on the .acad.lin: *HIDDEN,Hidden __ __ __ __ __ __ __ __ __ __ __ __ __ __ A,1.00,-1.00 But it doesn't works, the line is still longer than the space. Did you have AutoCAD open and running in the background when you edited acad.lin? 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.