cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum
GDL coding questions, Python and add-on development using the API Dev Kit.

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
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..

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!