mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-01 19:03:56 +01:00
AutoCAD 2024 doesn't apply MAXARRAY to COPY's Array: with MaxArray 100000, four lines and 26000 items made 104000 lines. The count is now 2 to 32767 whatever the selection, as AutoCAD asks it. A point at "Enter number of items to array:" was ignored; AutoCAD refuses it with "Requires an integer between 2 and 32767." (measured with a LISP point), and so does COPY now. So that a large selection can't run out of memory, the copies (items after the first, times the objects) stay within MAX_ARRAY_ITEMS, ARRAY's own limit whatever MAXARRAY says, checked before anything is made. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>