Layout.Viewports Node - Empty List

Correct - it’s a little quirk of AutoCAD that a layout has to be activated for its viewport(s) to be initialized.