Search the Knowledge Base Report a bug
Post new topic   Reply to topic   printer-friendly view   .    ArchiCAD-Talk Forum Index >>> Developer Forum >>> [SOLVED] APIDb_NewDatabaseID returns APIERR_REFUSEDCMD
View previous topic :: View next topic
Author Message
ReignBough
Junior member
Junior member

Joined: 30 May 2013
Posts: 126
Location: Philippines

PostPosted: Wed Jul 12, 2017 9:44 am    Post subject: [SOLVED] APIDb_NewDatabaseID returns APIERR_REFUSEDCMD Reply with quote

As the title says. This appears on 6005. When I ran my add-on on 3012, it is working fine.

The code is just the same as the one on the documentation.

I also tried the sample Database_Control, but it works on both 3012 and 6005. What make it return APIERR_REFUSEDCMD?

_________________
~ReignBough~
[ArchiCAD 20 INT 3012 FULL]
[Windows 7 Pro Intel Core i5 CPU 750 @ 3.40 GHz 32.00 GB 64-bit OS]


Last edited by ReignBough on Wed Jul 12, 2017 10:57 am; edited 1 time in total
Back to top
View user's profile Send private message   Facebook ID (Not full URL, just ID!) 
ReignBough
Junior member
Junior member

Joined: 30 May 2013
Posts: 126
Location: Philippines

PostPosted: Wed Jul 12, 2017 10:56 am    Post subject: Re: APIDb_NewDatabaseID returns APIERR_REFUSEDCMD Reply with quote

Found it.

It was in a function that is between a undo-able. (Actually, it's in a function (0) that is called by a function (1) that is called by a function (2) that is called by a function (3) that is inside undo-able).

But this set-up is okay with 3012.

_________________
~ReignBough~
[ArchiCAD 20 INT 3012 FULL]
[Windows 7 Pro Intel Core i5 CPU 750 @ 3.40 GHz 32.00 GB 64-bit OS]
Back to top
View user's profile Send private message   Facebook ID (Not full URL, just ID!) 
Display posts from previous:   
View previous topic :: View next topic
Post new topic   Reply to topic   printer-friendly view       ArchiCAD-Talk Forum Index >>> Developer Forum >>> [SOLVED] APIDb_NewDatabaseID returns APIERR_REFUSEDCMD All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2001, 2005 phpBB Group
Copyright 2012 - Graphisoft SE. All rights reserved worldwide. Terms of Use | Privacy Policy