SDK getDevelopSettings() from selected photo and applyDevelopSettings() to other selected photos
I have figured out how to use photo:getDevelopSettings() and photo:applyDevelopSettings() to make adjustments to one image or a group of images. But I am trying to get the develop settings from the most selected photo and then apply those settings to the remainder of the selected photos. Essentially, I am trying to recreate the Sync functionality that can be done via the UI in a script. I am using this as a starting point to manipulate the applied settings per image based on various criteria of the images.
Please see the screenshot below.

