License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.

APIAny_NeigToCoordID with unknown error [SOLVED]

ReignBough
Enthusiast
I called the ACAPI_Goodies function and it returned 0xffffe4a5.
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
3 REPLIES 3
Ralph Wessel
Mentor
ReignBough wrote:
I called the ACAPI_Goodies function and it returned 0xffffe4a5.
All I can add is that we use the function successfully and haven't seen that error code before.
Ralph Wessel BArch
Software Engineer Speckle Systems
ReignBough
Enthusiast
This is what I've done:

1. Create a wall 9000m high (storey height is 3000m); home storey is second floor.
2. Create 3 windows on the created wall; sill is anchored to storey ('Sill to Story X'); sill height is 200m.

When the API_Goodies(APIAny_NeigToCoordID) is called, two of these three windows returns 0x0ffffe4a5 on both APINeig_WindHole[0] and APINeig_WindHole[1].
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
ReignBough
Enthusiast
Found a solution to this problem. It seems that when getting the coordinate of a neig of an element, you should be on the same storey of that element. What I did was when I encounter this error (0xffffe4a5), I have to change the current storey to the element's storey (using ACAPI_Environment(APIEnv_ChangeStorySettingsID)).

BTW, this error is GSErrCodes::Error = -7003 fond in Definitions.hpp.
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS

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!