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

Use of undeclared identifier 'ACAPI_Automate'

pnkapadia6
Beginner

I am creating my first add-on for ArchiCAD version 28 and was trying the highlight example, but 

 
ACAPI_Automate (APIDo_RedrawID)
keeps giving build error
Use of undeclared identifier 'ACAPI_Automate'; did you mean 'API_AutomateID'?
 
My imports currently are
#include "APIEnvir.h"
#include "ACAPinc.h"
#include "APIdefs_Elements.h"

#include "ResourceIds.hpp"
#include "DGModule.hpp"​
 
Thank you in advance 🙂
1 REPLY 1

Unfortunately the examples in the documentation are often not up to date. This was changed to a separate function with the name: ACAPI_View_Redraw. Even the example for this function uses the old name 😅

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!