> sure, you could edit the XML for *any* document, then have RD save and close the document, update the CustomUI parts in the document, and then reopen the document.
If the document was being referred to by other projects, you'd have to close all of those projects first, before you could close and update the target document, but it's still feasible.