• 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
          • Custom Hatch Patterns
          • DIESEL Expressions
            • About DIESEL Expressions
            • About DIESEL and Status Bar Customization
            • About DIESEL Expressions in Macros
            • DIESEL Functions Reference
            • DIESEL Error Message Reference
          • 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
     
     

    DIESEL Error Message Reference

    Generally, if you make a mistake in a DIESEL expression, what went wrong may not be obvious. Depending on the nature of the error, DIESEL embeds an error indication in the output stream.

    DIESEL error messages

    Error message

    Description

    $?

    Syntax error (usually a missing right parenthesis or a runaway string)

    $(func,??)

    Incorrect arguments to func

    $(func)??

    Unknown function func

    $(++)

    Output string too long—evaluation truncated

    Related Concepts

    • About Responding to AutoLISP with DIESEL Expressions in Macros
    • About DIESEL Expressions in Macros

    Related Reference

    • DIESEL Functions 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