Hi @jamesbradleym,
Have you seen this tread ?
I was very happy that @Daniel_Woodcock1 was so kind to provide a solution (Python) to the OP’s question.
https://forum.dynamobim.com/t/assembly-modify-origin/11433/7?u=mjb-online
Maybe it can be of help.
Kind regards,
Mark