cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
SimonWeinberger
Participant

How to react to AddOnObject changes?

If I understand it correctly, the benefit of ACAPI_​AddOnObject_* methods over ACAPI_ModulData_* is that you can a) perform changes inside an undo scope and b) sync the data to the server (and other people). But how can I react to this happening?

 

I'd like to know when there are changes to AddOnObjects due to undo/redo or sync with server, but I couldn't find any events handling this. What are the methods I need to use for this? e.g. ACAPI_Element_AttachObserver does not work, AddOnObjects are no real objects despite being addressed via GUID.

 

Operating system used: Windows

2 Replies 2
Tamas Polyak
Graphisoft
Graphisoft

Hi,

 

Please check here: Archicad 29 C++ API: Add-On Objects

It states the requirements for the notifications to work. Please report it if it still doesn't work.

 

Best regards,

Tamás

SimonWeinberger
Participant

The methods you mentioned do work, but they don't cover the scenario I'm interested in. The user performing undo/redo does not call the installed handlers, only load/save of an older archicad file format does so.

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!