Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

HELP, ACAPI_Element_GetMemo error: APIERR_REFUSEDCMD

$
0
0
Author:mar_kq
Posted: Thu Dec 29, 2016 10:51 am (GMT+1)


Hello Oleg,

Oleg wrote:

What unterface ?
Do you call the Show or the ShowDialog method ?


We have a WPF component used in other applications. I am using a WinForm Window to "host" the WPF, and I use the "Show" method. The WPF UI works just fine.

Oleg wrote:

Call the your GetPropertiesSpace directly, not from any UI.
Is it works ?


If I call the function from a normal Archicad Menu command then it works fine. It has something to do with the communication with the Main Thread like Akos Somorjai suggested.


Viewing all articles
Browse latest Browse all 564

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>