The restoreOriginalXrefSymbols() function restores a resolved xref database to its original form, as it would be if just loaded from its file. The xref is then in a condition where it can be modified and saved back to a file. After calling this function, the host drawing is no longer in a valid state for regen or for any xref command modifications or reloads. The database modifications, save back, and the restoreForwardingXrefSymbols() function must be called before anything that might allow a regen.