cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

Archicad API – Create Master Layouts and place 2D/AutoText vs. Drawings

Le Tan Kien
Booster

Body:

  • Environment: Archicad version V28, Windows

  • 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:

    1. API entry points to create a Master Layout and set its page size/name?

    2. How to open the Master’s drawing database and create 2D elements / place a GDL object / insert AutoText there?

    3. How to create a Layout and assign the Master Layout by ID?

    4. Confirm: Drawings (View references) cannot/should not be placed on Master Layouts—only on Layouts, correct?

    5. Any minimal code snippet or docs pointers for the above steps?

  • Attachments: screenshot of my Masters panel and target layout result.

0 REPLIES 0