GSErrCode ACAPI_Goodies ( APIAny_RunGDLParScript
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-06-22
04:32 AM
- last edited on
2023-07-13
03:54 PM
by
Doreena Deng
2015-06-22
04:32 AM
Hi - I am trying to issue the following command from my C++ plugin:
GSErrCode ACAPI_Goodies (
APIAny_RunGDLParScriptID,
API_Elem_Head* elemHead,
UInt32 mask
);
My element is an Object, so the code is:
Thanks
Paul
GSErrCode ACAPI_Goodies (
APIAny_RunGDLParScriptID,
API_Elem_Head* elemHead,
UInt32 mask
);
My element is an Object, so the code is:
BNZeroMemory(&tElem2, sizeof(tElem2)); tElem2.header.guid = GSGuid2APIGuid(element.GetElemGuid()); GSErrCode err = ACAPI_Goodies(APIAny_RunGDLParScriptID, &tElem2.header, (void*)APIElemMask_FromFloorplan);However this function is returning error code returned is 0x8106006a. Does anyone know why this would be pls?
Thanks
Paul
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-07-03 11:19 AM
2015-07-03
11:19 AM
paulk wrote:Hi Paul,
Hi - I am trying to issue the following command from my C++ plugin:
GSErrCode ACAPI_Goodies (
APIAny_RunGDLParScriptID,
API_Elem_Head* elemHead,
UInt32 mask
);
My element is an Object, so the code is:BNZeroMemory(&tElem2, sizeof(tElem2)); tElem2.header.guid = GSGuid2APIGuid(element.GetElemGuid()); GSErrCode err = ACAPI_Goodies(APIAny_RunGDLParScriptID, &tElem2.header, (void*)APIElemMask_FromFloorplan);However this function is returning error code returned is 0x8106006a. Does anyone know why this would be pls?
Thanks
Paul
That error code means APIERR_BADDATABASE: that API call can be executed only if any of the 2D window is in front.
Best, Ákos
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-07-05 07:24 AM
2015-07-05
07:24 AM
Thanks Akos - that resolved my issue.
Paul
Paul