the only export format I know of that supports multiple
configurations is edrawings and that won't work well with UG.
I suggest you look into creating a macro using the API to perform
this function. There may also be third party options. Check the
partners page of the Solidworks website.