Service alert: BIMcloud SaaS disruption in the US Read more

Archicad C++ API
About Archicad add-on development using the C++ API.

How to place a Worksheet onto a Layout?

Le Tan Kien
Contributor

Hi everyone,

I’m working with Archicad 27, and I have a Worksheet that I want to place onto a Layout for printing/exporting purposes.

I’m not sure what’s the correct procedure to link the Worksheet to a Layout. I’ve tried using the "Place Drawing" command, but I’m confused about how to correctly select the Worksheet and keep it updated. Maybe use API C++

Can someone walk me through the correct steps?

Thank you in advance!

 


image.png
4 REPLIES 4
Laszlo Nagy
Community Admin
Community Admin

I am not an API programmer, but in Archicad, you would save a View of the Worksheet. Then you would place the View as a Drawing on a Layout. The View will be the source of the Drawing placed on the Layout. Maybe this info will help you figure it out step by step.

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Oleg
Expert

Look at the Do_PlaceWorksheetOnLayout function in the Element_Test example ( Element_Basics.cpp)
(Other related functions in the Element_Drawing.cpp)

Thank you, Sir

Thank you, Sir, I will try it

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!