cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

What are complete operations? Is Do_QuitID working?

Paul Kunysch
Participant
Hello

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
1 REPLY 1
Paul Kunysch
Participant
Apparently a magic undocumented "1234" parameter is needed for Do_QuitID. (Thanks https://github.com/tlorantfy !)

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!