• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Only 100 undo-levels / 500MB for undo? Any way to increase...

Stats

  • State Not Answered
  • Replies 3
  • Subscribers 160
  • Views 9613
  • Members are here 0
More Content

Only 100 undo-levels / 500MB for undo? Any way to increase that further?

j22987
j22987 over 3 years ago

Very new OrCAD user here, trying it out, and coming from Eagle...

Eagle has an undo history of >10,000, possibly more, that's all I tested. You could start a layout in one session and Ctrl-Z your way back to nothing if you really wanted to.

Or Autodesk's Inventor can store up to 8GB of undo data, and the number of undo levels is adjustable via the Windows Registry. I don't know the limit. Thousands?

Is OrCAD's 100-actions / 500MB a hard-coded limit, or is there some other setting elsewhere that allows those maximums to be modified?

  • Sign in to reply
  • Cancel
  • Schulz Jordan
    0 Schulz Jordan over 3 years ago

    There isn't any limit on undo actions. Did you any problem with undo actions ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • j22987
    0 j22987 over 3 years ago in reply to Schulz Jordan

    I just set undo_depth to 10 as a test, and did a bunch of Move and Delete actions on the Cadence_Demo board file. OrCAD did indeed only let me undo the last 10 actions; Undo is not able to go back far enough to restore the board to its original state.

    max_undo_memory
    undo_depth

    "Specify the maximum memory (in MB) for storing undo history. Default is 20 MegaBytes. Range is 0 to 500."

    "Specify the maximum number of commands for Undo history. More undo history takes more memory. Default is 10 commands. Range is 0 to 100 commands. The actual number of commands in the undo buffer is dynamically determined based upon this value and the undo memory consumed to undo each command, the total of which must not exceed max_undo_memory."


    I also just found that it doesn't always work on individual actions:
    Eagle: Activate Delete command and start clicking on items. Using Undo undoes each individual deletion.
    OrCAD: Undo undoes the entire usage of the Delete command. So if I clicked in seven things to delete them, Undo doesn't undo the last individual deletion, it undoes all seven deletions. But with the Move command, Undo works on each individual move. It shows up that way in the Undo-history dropdown: Numerous Move commands, but only one Delete.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • j22987
    0 j22987 over 3 years ago in reply to j22987

    Update: Apparently the 500MB/100-actions limits are restricted to the UI only. Why do that??

    I manually edited the env file to:

    max_undo_memory 5000
    undo_depth 1000

    PCB Editor seems to be ok with that. The undo history dropdown was three columns wide, and I was able to undo the entirety of about 200 Move commands, restoring the board to its original state.

    That issue with Delete is still not good though. I can click Delete and delete 15 items, but Undo undoes all of them, not just the last pick. Maybe there's a setting for that too?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information