not in the HEAD file,is the user defined
In the help of the ObjectARX
the content you search "printdxf" then it will be found
int printdxf(eb) struct resbuf *eb; { int rt; if (eb == NULL) return RTNONE;
if ((eb->restype >= 0) && (eb->restype <= 9)) rt = RTSTR ; else if ((eb->restype >= 10) && (eb->restype <= 19)) rt = RT3DPOINT; else if ((eb->restype >= 38) && (eb->restype <= 59)) rt = RTREAL ; else if ((eb->restype >= 60) && (eb->restype <= 79)) rt = RTSHORT ; else if ((eb->restype >= 210) && (eb->restype <= 239)) rt = RT3DPOINT ; else if (eb->restype < 0) // Entity name (or other sentinel)
rt = eb->restype; else rt = RTNONE; switch (rt) { case RTSHORT: acutPrintf("(%d . %d)\n", eb->restype, eb->resval.rint); break; case RTREAL: acutPrintf("(%d . %0.3f)\n", eb->restype, eb->resval.rreal); break; case RTSTR: acutPrintf("(%d . \"%s\")\n", eb->restype, eb->resval.rstring); break; case RT3DPOINT:
acutPrintf("(%d . %0.3f %0.3f %0.3f)\n", eb->restype, eb->resval.rpoint[X], eb->resval.rpoint[Y], eb->resval.rpoint[Z]); break; case RTNONE: acutPrintf("(%d . Unknown type)\n", eb->restype); break; case -1: case -2: // First block entity acutPrintf("(%d . <Entity name: %8lx>)\n", eb->restype, eb->resval.rlname[0]); } return eb->restype;
} |