Goal: From a C++ add-on I want to (1) create a Master Layout, (2) place 2D content (GDL title block, Text/AutoText, lines) on the Master, and (3) create Layouts that use this Master. Drawings (viewports) should be placed on the Layouts, not the Master.
Questions:
API entry points to create a Master Layout and set its page size/name?
How to open the Master’s drawing database and create 2D elements / place a GDL object / insert AutoText there?
How to create a Layout and assign the Master Layout by ID?
Confirm: Drawings (View references) cannot/should not be placed on Master Layouts—only on Layouts, correct?
Any minimal code snippet or docs pointers for the above steps?
Attachments: screenshot of my Masters panel and target layout result.