Set Undo file size with iLogic

Set Undo file size with iLogic

mikko.markkinen
Explorer Explorer
360 Views
5 Replies
Message 1 of 6

Set Undo file size with iLogic

mikko.markkinen
Explorer
Explorer

Hi, I'm trying to create company custom settings with iLogic and as part of that I want to maximize Undo File Size to avoid errors when working with big datasets. Maximum is 8191 Mb but iLogic does not let me input larger value than 4096 Mb for some reason. If value is larger than that, Inventor throws this error: "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))" It lets me input 8191 to Application options manually. Is this a bug or something I don't understand. Inventor version is 2022.4. 

 

ThisApplication.GeneralOptions.UndoFileSize = 8191

 

0 Likes
361 Views
5 Replies
Replies (5)
Message 2 of 6

WCrihfield
Mentor
Mentor

Hi @mikko.markkinen.  I am not sure, but I am using 2024.0.1, and when I run that rule it works just fine, with no errors.  It may have been a temporary issue.  Most likely a units conversion related issue, but I can't be sure.  The dialog says the number represents MB (megabyte), and I believe that is a fairly universal file size standard.  I don't think Inventor lists any specific default Units for digital file size.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Message 3 of 6

mikko.markkinen
Explorer
Explorer
Thanks for helping me out. I need to disable some addins and see if they affect this
0 Likes
Message 4 of 6

Frederick_Law
Mentor
Mentor

https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-A8E50133-E4FF-4459-B2AE-9568D2C9F565

For best results, increase or decrease the file size in 4-megabyte increments.

0 Likes
Message 5 of 6

mikko.markkinen
Explorer
Explorer

I ran the same rule with Inventor 2024 and it works there. Could this be a version specific issue? @Frederick_Law Increasing the parameter in 4 megabyte increments does not work. Right size of undo file depends what user is doing and there is no way for the user to get to the level of knowledge that they will adjust the parameter themselves to suit their dataset. We have had issues when Undo file size is set  1-2 gigs that some large operation is consuming more space and Inventor throws an error.

0 Likes
Message 6 of 6

Frederick_Law
Mentor
Mentor

4 MB increment means the number is dividable by 4.

8188 instead of 8191.

The rule works in 2023.3.1.

0 Likes