forked from 1b-agent/opencadstudio-upstream
With the new Associative option on (the default), ARRAYRECT and ARRAYPOLAR build the array the way the drawing format stores one: the selected objects move into an anonymous source block, an anonymous array block holds one ByBlock reference to it per item, an INSERT of the array block takes their place, and an AcDbAssocAction with an AcDbAssocArrayActionBody, its three dependencies, the BaseNormal / Origin / basePoint parameters and the value parameters tie them together in the model-space network. The array is then edited from Properties like an array read from a file. The option flips with AS and is remembered for the session; on a rotated working plane the commands keep making plain copies. Saving drops the action of an array whose reference was erased or exploded. Checked: created arrays reopen as associative with their parameters and items, and the ODA converter reads the saved DWG without errors. Refs #1109 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>