AutoCad 2D :: Create A Custom Linetype For A Drawing
May 28, 2013
I want to create a custom linetype for a drawing but am unsure of the best method to use. I only need this linetype for 1 drawing and so I would like it embedded in that drawing if possible. Other people may need access to this file so sending a custom file is out of the question.
Should I create a new .lin file or edit the default acad.lin?
I started to create one using Express Tools and when it prompted me to create / save a new .lin file it defaulted to the 'C:Program FilesAutodeskAutoCAD 2012 - English' folder. I was unsure if to save it here or 'C:Program FilesAutodeskAutoCAD 2012 - EnglishUserDataCacheSupport', where ACAD's .lin is stored.
I have a client who requested some complex custom linetypes. (line - shape - line)
I built the shapes and stored them in my ltype.shp file, and compiled that to ltype.shx. Then I added the custom linetypes in my acad.lin file. So everything works on my machine with no problem. However, when I send the drawing to someone else, the linetype works, but the shapes are left out. My guess is that since her ltype.shx file does not contain my new shapes, the lines are just drawn without them.
Is there a way that I can have those linetypes, complete with shapes, ride along inside/embedded the dwg file?
And before you ask, no, it's not an option to provide the client with the shx file that contains these shapes. I'm one of many different people in many different companies that might work on these drawings in the future and there's just no way that they'll be able to send an shx file along with the drawing every time someone new needs to work on it.
I am trying to create a custom detail line, if possible?
Is there any way to create a custom detail line which will be a dashed line (similar to Hidden) as well as containing arrows every "X" feet or inches. i am attaching an image that is what i would like to create so i don't draw from scratch.
I would like for it to function as a line, spline, shape, whatever the needs may be.
I'm using mm, and i want to create a custom scale which is not in the list of my standard scale in the viewport properties. If i want 1/200 for example and this is not in the list how do i set the custom scale?
Is it possible to code a custom linetype, so that it only follow certain annotation scales (e.g. 1:100, 1:200 1:500) and so that it just appears as a continuous line below and above these certain scales?
The solution should work even when the drawing is used by others and apply to both modelpsace and paperspace (viewport).
I have created a custom linetype using shape for Plugmold like this _____ / / _____ Its works in my PC. But when others open it from their PC it shows like this ____ . . . . . ___.
Is there a way to start a custom line type so that is starts and ends with "O". Right now, the default "FENCELINE1" has circles in it, but it starts and ends with a line.
Here's their code for the line:
*FENCELINE1,Fenceline circle ----0-----0----0-----0----0-----0-- A,.25,-.1,[CIRC1,ltypeshp.shx,x=-.1,s=.1],-.1,1
I already tried just putting the O's at the ends, and that didn't do it.
Below is a picture of what I'm looking to get. The top one is the FENCELINE1, the bottom one is just circles and lines, but that's how I want the linetype to look when they place it... so first click would have a circle, second click would have a circle, and the circles "in" the line would spread out evenly.
Just so you know... this is for guardrail inside a where house where it has the circle pillars on each end with circular pillars in the middle (every 8', but the spacing isn't crucial).
I've been asked to produce a user defined linetype with a continuous line as its base and with a letter "X" at specific intervals. That's ok, but the kick is that the line should be one colour and the "X" in a different colour.
I suggested creating a block for the "X" and using measure to place the blocks on the line, but that is unacceptable. There will be a lot of lines and these will be at some point deleted/replaced and the "X" blocks would still be there. It would be possible to place all the "X"s for one line in a group so they could be deleted as a group, but in a relatively small drawing there will be several hundred of these lines and in a large drawing perhaps a couple of thousand.
As far as I'm aware in a custom linetype all the elements are the same colour.
I made a custom linetype to represent a pipeline. The line is abbreviated by 5 letters. My problem is when I reach and curve in the pipe (an elbow), the text string does not follow the curve. It remains straight for the remainder of the text. Is there a way (autocad 2013) to have the text follow the path of a curve?
edit: I saw one similar topic from 2008 in this thread: [URL] and the best response there is the one posted by eldon where you break the code down to each letter. Still, the picture in eldon's post makes the text a bit jagged. Have any changes been made to AutoCAD since this post that make this easier?
I made a custom line type called EX (for existing pipes) which looks a little bit like this: - - - EX - - - EX - - - EX - - -
Line works great when I draw from left to right. However, when I draw a line from RIGHT to LEFT, the text displays upside down a little bit like this: - - - X3 - - - X3 - - - X3 - - - ("3" representing the mirror image of "E")
Same applies when drawing from bottom to top, or top to bottom. I totally understand the behavior here, and TBH I think it's OK it behaves that way.
Let's say I'm drawing existing water pipes going in all directions with a polyline. Is there a way to make the text display upward no matter what direction the pline is going?
I'd like to make a custom linetype that is a the standard DASHDOT linetype, but with a small circle drawn on the ends of the line or arc (and only at the ends).
I am trying to create a custom linetype with solid circles at a specified distance along the custom linetype (see attachment). I have tried using a shape, the special Wingding character but cannot get the result I want. I've tried the hatching method, again with no luck. I've went through the discussion groups, online content, etc. but cannot get it to generate the line the way I want. I see a few people that have been successful but I cannot get it to work.
I've created my first line type (woohoo!) but the rotated V that I used as an "arrow" won't center and I'm having a difficult time understanding why so that I can fix it. I am aware that linetypes like the one I created exist but I wanted the arrows a specific size and distance apart which I couldn't do with the existing linetypes available to me (also I really wanted to try creating a custom one).
In the attached picture:
-the green line is the finished custom linetype
-the red lines are polylines
-the blue text is rotated 90 degrees, set to a text style titled Linetype (simplex font, not annotative, height set to 0 and width set to 1.0), and Justify set to Bottom Center linetypes-Model.pdf
With the first one I intend to see few small dashes "(N)L" few small dashes an so on. With the second one I want to see one long dash "(N)L" long dash "(N)L" and so on.
They both appear as few small dashes (N)L few small dashes and so on
How do I control how many dashes will be in the line? What is the coding definition for the text portion of the line between []?
I have a custom linetype that's just a series of arrows I want to use to show the flow of a ditch. I've played around with this thing for a while and have these dots at each end of the line that shows up when I print.
Is there any way to make this linetype without the dots at each end? the actual files for the line type.
How i would create a new linetype in AutoCAD LT 2004. For example creating an electrically traced line that is a dashed line with the letter E in the line.
Currently in process of a quick fix, trying to create a linetype that should place a number in between the lines.
*One, Places 1 in between lines A,5000,-50,["1",CompatecStandard,U=0,Y=-125],-150
That's as far as I've gotten and it pretty much does what I want it too, but right now it is set to 5000mm before it makes a gap with a number. I would like that gap to be dependent on the length of the line... is that possible?
For example, if the line is only 4000mm I want the gap to be after 2000 instead of 5000.
Is it possible to create a linetype that has a shape that and spacing between the shape that would always be the same? I want to create a linetype that would have a shape that would always be 2 feet across with 20 feet between each occurance whether its in a 20 scale view port or a 60 scale view port.
Whenever i draw a new line, hatch etc - Autocad draws the object with a certain lineype. Then after i draw the line i have to manually click the line and set it's linetype to "By layer". It doesn't matter which layer i set as current, it never draws by layer, allways by this other linetype.
Using Cad 10 Architecture - But tried opening the file on other versions aswell, with the same result.
I'm looking to create a linetype where I can incorporate a specific arrow shape. The best way of going about this? The application is to show on general layout plans the escape route with a polyline with the incorporate arrow.
Until now I have been drawing a standard PL then adding the arrows manually .
I am trying to create a linetype(actually multible linetyes) for Civil drawings. I need the line type to have the following text..........12" W. I have tried to edit and existing linetype but for some reason the string does not seem to like me using the inch (") symbol. Any proper way to generate this linetype and I should be able to edit it to get all the other line sizes I need.
How I set Linetype scale for 3 paper space with different page setup with in single drawing.
Explanation:I have a drawing with XRef attached, I want to make 3 paper space for this drawing with different page setup A0, A1 and A3. I am confused how I set line type scale for each paper space.