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

How to create a Fill using ArchiCAD API?

Tran Thanh Lo
Booster

Hi guys, 

Do you know how to create a Fill using Fill Tool (like the picture below) in ArchiCAD API C++? 

If you know can you tell me?

Thank you very much.


received_1149745075985287.png

2 REPLIES 2
Akos Somorjai
Graphisoft
Graphisoft

Hi,

 

Please look at the Do_CreateHatch() and the CreateRectangleFill() sample code in Element_Basics.cpp in the Element_Test example add-on's source.

 

Best, Akos

Apollos
Booster

Dear @Akos Somorjai  I am new to the Graphisoft C++ API. I have been using Revit API for 3years on C#. Now I am learning C++ and its possible application based on the Archicad C++ API.

Can you please advise me on how best to use the documentation of the Archicad C++ API? Even though I am gradually getting a grasp of it.