Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2018-09-09
08:36 PM
- last edited on
2023-07-04
02:08 PM
by
Doreena Deng
Solved! Go to Solution.
2018-09-10 09:00 AM
#define ACAPI_ELEMENT_MASK_CHECK(rec,typ,varnam) (*((char *) &((typ *) &rec)->varnam) != 0)So now it's obvious that a member should be set to anything but zero to force ARCHICAD to calculate it. That's why ACAPI_ELEMENT_MASK_SET macro sets '-1' value.
2018-09-10 09:00 AM
#define ACAPI_ELEMENT_MASK_CHECK(rec,typ,varnam) (*((char *) &((typ *) &rec)->varnam) != 0)So now it's obvious that a member should be set to anything but zero to force ARCHICAD to calculate it. That's why ACAPI_ELEMENT_MASK_SET macro sets '-1' value.
2018-09-10 01:26 PM