• Help Home
  • English (US)
    1. English (US)
    2. 简体中文
    3. 繁體中文
    4. Čeština
    5. Deutsch
    6. English (UK)
    7. Español
    8. Français
    9. Magyar
    10. Italiano
    11. 日本語
    12. 한국어
    13. Polski
    14. Português (Brasil)
    15. Русский
Autodesk Civil 3D
    • What's New in Civil 3D
    • Release Notes
    • Help
    • Tutorials
    • Best Practices Guide
    • Have You Tried
    • Subassembly Reference
    • Subassembly Composer Help
    • Dynamo for Civil 3D
    • Geotechnical Modeler (In English Only)
    • Project Explorer Help
    • IFC 4.3 Extension for Autodesk Civil 3D
    • Survey and Transform Tools for Coordinate Geometry (in English only)
    • Autodesk SHP Import/Export Utility Help (in English only)
    • Infrastructure Content Authoring
    • Content Browser Help
    • Object Enabler Help
    • CAiCE Translator Help
    • API Reference Guide
    • Developer's Guide
    • Learn AutoCAD Map 3D
    • Use AutoCAD Map 3D
    • Customize AutoCAD Map 3D
    • AutoCAD User's Guide
    • Customization and Administration Guides
    • AutoLISP: Developer's Guide
    • AutoLISP: Reference
    • Autodesk Installation
    • Autodesk Civil 3D Installation
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    DIASTAT (System Variable)

    Stores the exit method of the most recently used dialog box.

    (Read-only)
    Type:Integer
    Saved in:Not-saved
    Initial value:0

    Value

    Description

    0

    Cancel

    1

    OK

    Note: The DIASTAT system variable does not apply to standard file selection dialog boxes, such as the Select File and the Save Drawing As dialog boxes.

    Related Tasks

    • To Start the Program With a Command Line Switch

    Related Reference

    • Command Line Switch Reference
    • Commands for Customizing the Drawing Environment

    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