And the properties of that Text Style must not be changed. If you use text in a complex linetype, the Text Style you use in the linetype defintion must exist in the drawing into which you try and load this linetype. For shape based linetypes, it will look for the Shape File and then load the required shape(s) from that file.īelow is a sample LIN file containing one text based complex linetype and one shape based complex linetype. For a text based linetype, AutoCAD will follow the instructions of looking for the Text Style in the drawing and then loading the characters from the font assigned to that Text Style. That is not much different that what AutoCAD is going to do when it tries to display a complex linetype. They might say: travel south on Interstate 59, then take exit 94 and go east on route 16 for 3 miles, and the address is 8400 Route 16. To look at it another way, say someone gives you directions to their house. If you open an existing drawing with a shape based complex linetype and the shape file is not available, then the drawing will load, but the linetype will simply have gaps where your shape should be.
You will get a dialog like this (you will get this same dialog if a required Text Style is missing too) If you are trying to load a shape based complex linetype and the shape file is not available, the linetype just will not load. if the shape file is not available then guess what? Yes, the linetype will not be rendered correctly. There is no Text Style for someone to change. You can be assured that the shape named “Box” inside the file “Custom.shx” will be used in your linetype. Suppose you make a shape file named “Custom.shx” and you define a shape inside of this file named “Box” and then finally, you create a complex linetype that references this shape named “Box”. Let’s look at shape based complex linetypes now.
If the font or the fixed text height of the Text Style being used by your linetype is modified, then your linetype is probably not going to show up as you designed it. Even if you could depend on a particular Text Style to exist, you have no control over the font assigned to that text style. So far this sounds ideal, because every drawing has a Text Style named “Standard”, right? (Actually, the Text Style “Standard” can be renamed so you can’t count on this!). When you create a text based complex linetype, the item you have to make a reference to is a Text Style, not a font. Let’s look at text based complex linetypes first.
On the other hand a shape can be defined to look like text. Certain fonts, for example the Wingdings truetype font that comes with Windows, contain all sorts of symbols. Your first thought might be that you can only use text for text characters and only use shapes for symbols, but that is not exactly true. Should you use text or shapes for the complex parts of your new linetype? Autodesk refers to these custom linetypes as “Complex Linetypes”. So you want to make a custom linetype for AutoCAD that contains text and/or symbols. So you want to make a custom linetype for AutoCAD?