Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted

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.

Posted (edited)

Thanks a lot , Msasu

Edited by NEXTMARCUS
Posted

See, I told you there was another way to do it. Thanks MSasu.

Posted

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 !

Posted

Even plain AutoCAD has more than 40 available linetypes.

 

Did someone try editing the file and delete many of the definitions?

Posted

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"

Posted

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 ?

Posted

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?

Posted

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"

Posted

I find another way to create a linetype easily, is the comand mkltype, its very usefull

 

 

 

Sorry about my very bad english.

Posted

While there are a couple of ways to create custom linetypes I think using MKLTYPE would not be the best choice in this situation.

Posted

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.

Posted (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:

 

new.jpg

Edited by NEXTMARCUS

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...