So I have a workspace that reads a DWG, and writes another one after setting viewport attributes according to this article: https://support.safe.com/hc/en-us/articles/25407658483341-Working-with-AutoCAD-Layouts
However, even though I’ve set autocad_viewport_view_center_x, autocad_viewport_view_center_y, autocad_viewport_center_point_x and autocad_viewport_center_point_y to display the view at the center of the page, I keep getting the viewport centered at 0, 0 in paper space, so my viewport content is centered close to the lower left corner of the page on output. I have quintuple-checked that all the required viewport attributes are set correctly. It seems like the writer is simply ignoring my viewport center settings.
I’ve been banging on this for more than a day now, and have made no headway against it. Hopefully some kind soul out there will have an idea of what could be going wrong.