1 #define DWG_TYPE DWG_TYPE_ASSOCEXTENDSURFACEACTIONBODY
2 #include "common.c"
3
4 void
api_process(dwg_object * obj)5 api_process (dwg_object *obj)
6 {
7 int error, isnew;
8 ASSOCPATHBASEDSURFACEACTIONBODY_fields;
9 BITCODE_H *deps;
10 // AcDbAssocExtendSurfaceActionBody
11 BITCODE_BL class_version;
12 BITCODE_RC option;
13
14 Dwg_Version_Type dwg_version = obj->parent->header.version;
15 dwg_obj_assocextendsurfaceactionbody *_obj = dwg_object_to_ASSOCEXTENDSURFACEACTIONBODY (obj);
16
17 // ASSOCACTIONBODY:
18 CHK_ENTITY_TYPE (_obj, ASSOCEXTENDSURFACEACTIONBODY, aab_version, BL);
19 CHK_ASSOCPARAMBASEDACTIONBODY (ASSOCEXTENDSURFACEACTIONBODY);
20 // AcDbAssocSurfaceActionBody
21 CHK_SUBCLASS_TYPE (_obj->sab, ASSOCSURFACEACTIONBODY, version, BL);
22 CHK_SUBCLASS_TYPE (_obj->sab, ASSOCSURFACEACTIONBODY, is_semi_assoc, B);
23 CHK_SUBCLASS_TYPE (_obj->sab, ASSOCSURFACEACTIONBODY, l2, BL);
24 CHK_SUBCLASS_TYPE (_obj->sab, ASSOCSURFACEACTIONBODY, is_semi_ovr, B);
25 CHK_SUBCLASS_TYPE (_obj->sab, ASSOCSURFACEACTIONBODY, grip_status, BS);
26 CHK_SUBCLASS_H (_obj->sab, ASSOCSURFACEACTIONBODY, assocdep);
27 // AcDbAssocPathBasedSurfaceActionBody
28 CHK_ENTITY_TYPE (_obj, ASSOCEXTENDSURFACEACTIONBODY, pbsab_status, BL);
29
30 CHK_ENTITY_TYPE (_obj, ASSOCEXTENDSURFACEACTIONBODY, class_version, BL);
31 CHK_ENTITY_TYPE (_obj, ASSOCEXTENDSURFACEACTIONBODY, option, RC);
32 }
33