SOLVED!
APIERR_baddatabase when trying to render after AllInputFinished event
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-09-01
07:20 PM
- last edited on
2021-09-14
01:48 PM
by
Noemi Balogh
2020-09-01
07:20 PM
Hi,
I am trying to call a function that renders when the event AllInputFinished occurs.
My goal is to open AC file, and render after it’s opened.
The problem is that I get Apierr_baddatabase when calling it from this event.
When calling the exact same code normally (with a click), everything works like a charm
Thanks in advance!
I am trying to call a function that renders when the event AllInputFinished occurs.
My goal is to open AC file, and render after it’s opened.
The problem is that I get Apierr_baddatabase when calling it from this event.
When calling the exact same code normally (with a click), everything works like a charm
Thanks in advance!
Solved! Go to Solution.
Labels:
- Labels:
-
Add-On (C++)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-09-01 08:46 PM
2020-09-01
08:46 PM
If yoy want to action something after a project is opened, use the method I described here: https://archicad-talk.graphisoft.com/viewtopic.php?f=23&t=70427&p=314605#p314576
Ralph Wessel BArch
Central Innovation
Central Innovation
2 REPLIES 2
Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-09-01 08:46 PM
2020-09-01
08:46 PM
If yoy want to action something after a project is opened, use the method I described here: https://archicad-talk.graphisoft.com/viewtopic.php?f=23&t=70427&p=314605#p314576
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-09-02 10:48 AM
2020-09-02
10:48 AM
Ralph wrote:Thanks. I forgot that step..
If yoy want to action something after a project is opened, use the method I described here:https://archicad-talk.graphisoft.com/viewtopic.php?f=23&t=70427&p=314605#p314576
From some reason I’m getting error code -7003. Not sure what it means
Edit: seems like if I lgnore it (don’t ask if err!= noerr) everything works fine..
