If adjusting MAXFILESPERDRAWING seems necessary:
Avoid this frustrating message by following these habits: autocad please enter an integer from 1 to 20000
AutoCAD relies on various system variables to manage how it renders objects on your screen. To prevent the software from crashing or freezing due to excessive calculations, Autodesk sets minimum and maximum thresholds for these values. 000 threshold for sorting.
Use the PURGE command regularly to remove unused blocks and layers. This keeps your object count well below the 20,000 threshold for sorting. autocad please enter an integer from 1 to 20000