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.

What are complete operations? Is Do_QuitID working?

Paul Kunysch

How would I call a "complete operation" from an add-on?
It can't be called from an undoable context and it can't be called from a non-undoable context ... and I don't understand what other options remain.
(This was also asked on April 27th ... WHEN/HOW TO CALL COMPLETE OPERATIONS? ... but there are no answers.)

In particular Do_QuitID is documented as a "complete operation". And "Not for public usage.".

Is it possible to use this API in a private IntegrationTestRunner-AddOn? (Or to simplify self-updates of a running add-on?) Or should I find other ways to automate a shutdown? (E.g. calling osascript 'quit app "ARCHICAD"' after a sleep works well on MacOS. But I'd prefer an official platform-independent API if I can figure out how to call it.)

Kind regards, Paul
Paul Kunysch
Apparently a magic undocumented "1234" parameter is needed for Do_QuitID. (Thanks !)
Learn and get certified!

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!