1 #define DWG_TYPE DWG_TYPE_ASSOCARRAYACTIONBODY
2 #include "common.c"
3
4 void
api_process(dwg_object * obj)5 api_process (dwg_object *obj)
6 {
7 int error, isnew;
8 ASSOCARRAYACTIONBODY_fields;
9 BITCODE_H *deps;
10
11 Dwg_Version_Type dwg_version = obj->parent->header.version;
12 //#ifdef DEBUG_CLASSES
13 dwg_obj_assocarrayactionbody *_obj = dwg_object_to_ASSOCARRAYACTIONBODY (obj);
14
15 // ASSOCACTIONBODY
16 CHK_ENTITY_TYPE (_obj, ASSOCARRAYACTIONBODY, aab_version, BL);
17 CHK_ASSOCPARAMBASEDACTIONBODY (ASSOCARRAYACTIONBODY);
18
19 CHK_ENTITY_TYPE (_obj, ASSOCARRAYACTIONBODY, aaab_version, BL);
20 CHK_ENTITY_UTF8TEXT (_obj, ASSOCARRAYACTIONBODY, paramblock);
21 if (!dwg_dynapi_entity_value (_obj, "ASSOCARRAYACTIONBODY", "transmatrix", &transmatrix, NULL))
22 fail ("ASSOCARRAYACTIONBODY.transmatrix[16]");
23 for (unsigned i = 0; i < 16; i++)
24 {
25 ok ("ASSOCARRAYACTIONBODY.transmatrix[%u]: %f", i, transmatrix[i]);
26 }
27 // #endif
28 }
29