batch export - .pdf and .dwg

I have an assembly with 400 items in it.  I would like to export the drawings for these as .pdf and .dwg.  Does anyone have a easy way to do this? I do have task scheduler.  Do not have pdm.  SW2017.

SolidworksApi macros