APIAny_NeigToCoordID with unknown error [SOLVED]
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-12-07
07:17 AM
- last edited on
‎2023-07-13
02:44 PM
by
Doreena Deng
‎2015-12-07
07:17 AM
I called the ACAPI_Goodies function and it returned 0xffffe4a5.
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Labels:
- Labels:
-
Add-On (C++)
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-12-07 12:04 PM
‎2015-12-07
12:04 PM
ReignBough wrote:All I can add is that we use the function successfully and haven't seen that error code before.
I called the ACAPI_Goodies function and it returned 0xffffe4a5.
Ralph Wessel BArch
Central Innovation
Central Innovation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-12-09 10:37 AM
‎2015-12-09
10:37 AM
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].
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 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-12-10 09:53 AM
‎2015-12-10
09:53 AM
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.
BTW, this error is GSErrCodes::Error = -7003 fond in Definitions.hpp.
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS