Issue: 

A special line type is required in the drawing, which is not found in the ZWCAD line type file and needs to be customized.

How to customize the line type in ZWCAD?

Solution:

The ZWCAD line type is defined by a .lin file, and the .lin file is in the CAD installation directory or the CAD folder under the user directory, it can be opened with Notepad.

  1. Each line type starts with mark *, followed by the line type name, and after the symbol, is the line type description.
    The second line defines the line type:
       A, indicating that the line type is justified.
       1.250,-0.25,0.25,-0.25 means starting with a line of 1.25 units in length, followed by a space of 0.25 units in length, then a line of 0.25 units in length, and then repeated with a space of 0.25 units. (Positive numbers represent the length of the line, negative numbers represent the size of the space, and 0 represents the point. Each step is separated by mark ,)
  2. Another definition is that there are words or symbols in the line segment, such as "-AC-AC-AC-". Its structure is similar to the above line type, except that there is a separate representation code when adding words or symbols.
    image2021-1-4_11-41-55.png
    [ ] is text or symbol style, others are the same as simple line style:
    AC means the text needs to be added to line type;
    STANDARD means the text style;
    S means the magnification ratio;
    R means the rotation angle;
    X indicates that the text is displayed on the X axis;
    Y indicates the displacement on the Y axis.
  3. For the function of making objects into line types in ZWCAD, click the menu Express → Tools → Make Linetype (MKLTYPE command), set the line type name according to the command prompts, and you can create a line type file. If the objects contain text, it is necessary to use single-line text for the text, so that the line type can be generated correctly.



★How to create a custom line type in ZWCADhttps://confluence.zwcad.com/pages/viewpage.action?pageId=130431856