The collectGUIDs.pmlfnc function has been written to collect all elements with set UUIDIA attributes and to write a macro that can set them again. This was primarily written for project upgrade, but can provide a template to develop bespoke functionality regarding the UUIDIA attributes.