Archicad C++ API
About Archicad add-on development using the C++ API.

What is meant by "neig"?

Anonymous
Not applicable
Hi 🙂

My english dictonary has not got an entry for "neig".
Could someone explain what is meant?

This word often occurs in the API documentation...

e.g.:
"
API_Neig
Describes a neig point of an element.

typedef struct {
API_NeigID neigID;
long index;
short inIndex;
short filler_1;
long flags;
} API_Neig;
"
3 REPLIES 3
Laszlo Nagy
Community Admin
Community Admin
I am not familiar with the API, but I think neig has something to do with neigbouring elements/element parts (nodes, edges etc.) - depends on the context.
I might be wrong.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
TomWaltz
Participant
John wrote:
Hi 🙂

My english dictonary has not got an entry for "neig".
Could someone explain what is meant?

This word often occurs in the API documentation...

e.g.:
"
API_Neig
Describes a neig point of an element.

typedef struct {
API_NeigID neigID;
long index;
short inIndex;
short filler_1;
long flags;
} API_Neig;
"
John,

I've spoken English my entire ~32 years of life, and I have no idea.

My impression is that it related to making associative elements, such as the way dimensions lock on to wall or door hotspots.
Tom Waltz
Anonymous
Not applicable
I don't know where the term comes from but I think its more to do with a piece of an element. These are generally used with selections. eg. A dimension can be selected in its entirety or by a point of it.

This is based on what I see under API_NeigID in the help. Usually I just deal in whole elements by converting the neigId to a typeID.