• 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
    • DXF Reference
    • AutoLISP and DCL
    • ObjectARX
      • ObjectARX: Developer's Guide
        • ObjectARX Introductory Concepts
        • Basic Interaction with AutoCAD
        • Custom Objects
        • Advanced Topics
          • Notification
          • The Multiple Document Interface
          • Transaction Management
            • Overview of Transaction Management
            • Transaction Manager
            • Nesting Transactions
            • Transaction Boundaries
            • Obtaining Pointers to Objects in a Transaction
            • Newly Created Objects and Transactions
            • Commit-Time Guidelines
            • Undo and Transactions
            • Mixing the Transaction Model with the Open and Close Mechanism
            • Transactions and Graphics Generation
            • Transaction Reactors
            • Example of Nested Transactions
          • Deep Cloning
          • Protocol Extension
          • Behavior Overrules
          • Dynamic Blocks, Protocol Reactors, and Evaluation Graphs
          • Input Point Processing
          • Application Configuration
          • Associative Framework
        • ObjectARX Graphics, Geometry, and Boundary Representation Libraries
      • ObjectARX: Reference Guide
      • ObjectARX: Release Notes
    Share
    • Email
    • Facebook
    • Twitter
    • LinkedIn
     
     

    Undo and Transactions

    The transaction model uses AutoCAD's undo mechanism and AcDbObject::cancel() in implementing AcTransactionManager::abortTransaction(). This requires that you do not include any operation that uses AutoCAD's subcommand undo mechanism in a transaction. This will confuse AcDbTransactionManager::abortTransaction() and might produce unexpected results. Examples of operations that use the subcommand undo mechanism are the PEDIT and SPLINEDIT commands.

    Parent topic: Transaction Management

    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