• Help Home
  • Quick References
    • What's New
    • New Features Video
    • The Hitchhiker's Guide to AutoCAD for Mac
    • Commands
    • System Variables
  • English (US)
    1. English (US)
    2. 简体中文
    3. Deutsch
    4. Español
    5. Français
    6. Italiano
    7. 日本語
    8. 한국어
AutoCAD for Mac 2025
    • What's New in AutoCAD for Mac
      • New Features Overview (Video)
      • What's New in AutoCAD for Mac 2025
      • What's New in Previous Releases
    • Getting Started
    • AutoCAD for Mac User's Guide
    • Cross Platform
    • Subscription Benefits
    • Customization and AutoLISP
      • 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: Developer's Guide
      • AutoLISP: Reference
      • AutoLISP: Tutorials
    • Installation
    • AutoCAD for Mac Release Notes
    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