What are complete operations? Is Do_QuitID working?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-06-23
03:43 PM
- last edited on
‎2021-09-14
09:32 AM
by
Noemi Balogh
‎2021-06-23
03:43 PM
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
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
Labels:
- Labels:
-
Add-On (C++)
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-06-24 09:29 AM
‎2021-06-24
09:29 AM
Apparently a magic undocumented "1234" parameter is needed for Do_QuitID. (Thanks https://github.com/tlorantfy !)