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

APIERR_baddatabase when trying to render after AllInputFinished event

Anonymous
Not applicable
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!
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Ralph Wessel
Mentor
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

View solution in original post

2 REPLIES 2
Solution
Ralph Wessel
Mentor
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
Anonymous
Not applicable
Ralph wrote:
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
Thanks. I forgot that step..
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..

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!