• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. Deutsch
    4. Español
    5. Français
    6. Italiano
    7. 日本語
    8. 한국어
AutoCAD 2025 for Mac Developer and ObjectARX
    • Customization Guide
      • Customization Guide Reference
      • General Customization
        • Basic Customization
        • Custom Linetypes
          • About Custom Linetypes and Linetype Definitions
          • About Simple Custom Linetypes
          • About Text in Custom Linetypes
            • To Include Text in Custom Linetypes
          • About Shapes in Custom Linetypes
        • Custom Hatch Patterns
        • DIESEL Expressions
        • Shapes and Font Shapes
        • Command Scripts
        • Supported Programming Interfaces
      • Migration
      • User Interface Customization
    • DXF Reference
    • AutoLISP and DCL
    • ObjectARX
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    To Include Text in Custom Linetypes

    1. Create a simple linetype, as described in To Add a Simple Linetype to a LIN File.
    2. Add the text character descriptor within the linetype pattern, using the following format:
      ["text",text_style_name,scale,rotation,xoffset,yoffset]

      For example,

      A,.5,-.2,["HW",STANDARD,S=.1,U=0.0,X=-0.1,Y=-.05],-.2
    Parent topic: About Text in Custom Linetypes

    Related Concepts

    • About Text in Custom Linetypes
    • About Shapes in Custom Linetypes
    • About Customization

    Related Tasks

    • To Create a Simple Linetype From the Command Prompt
    • To Add a Simple Linetype to an LIN File

    Related Reference

    • Commands for Customization

    Was this information helpful?

    Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.

    • Privacy Statement
    • Legal Notices & Trademarks
    • Report Noncompliance
    • © 2025 Autodesk Inc. All rights reserved