BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

Error in API Dev Kit 26, Automate_Functions -> Do_Save_PdfFile

gunners6522
Contributor

From the API 26 Development Kit example add-ons, the Automate_Functions project fails when performing "Do_Save_PdfFile". To be more specific, this method returns APIERR_REFUSEDCMD:

 

ACAPI_Automate (APIDo_SaveID, &fsp, &pdfPars);

2 REPLIES 2

Hi Gunners,

 

Are you running Archicad in Demo version? According to the documentation (https://archicadapi.Graphisoft.com/documentation/apido_saveid) you'll need to run Archicad with a license to execute this function.

Bernd Schwarzenbacher - Archicad Add-On Developer - Get Add-Ons & Archicad Tips on my Website: Archi-XT.com
gunners6522
Contributor

I think you are right. My bad. My license isn't upgraded to Archicad 26.

 

Thank you!

Learn and get certified!