DWG to PDF without writing a plugin
Uses the ready-made activity documented by Autodesk, AutoCAD.PlotToPDF+prod: uploads the DWG to a bucket (storage area), sends the WorkItem (run request), tracks the status and downloads the PDF. It plots with the settings saved in the drawing itself; for scale, layout or title block, it proposes a custom activity.