几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】setdimtxt90 Etc. Not Implemented For Oddbdimension (http://www.dimcax.com/hust/showthread.php?t=18539)

yang686526 2009-05-07 03:39 PM

【转帖】setdimtxt90 Etc. Not Implemented For Oddbdimension
 
setdimtxt() etc. not implemented for oddbdimension?
setdimtxt() etc. not implemented for oddbdimension?
i am trying to create dimension objects with overides from the default settings from their dimension style.
in arx i can call functions like setdimtxt() or setdimclrt() to this effect but these do not seem to be implemented of oddbdimension and derived classes. only (some) for oddbleader.
is this an omision that is intended to be remedied in a later version of the library, or is there a reason this functionality is not supplied?
thanks in advance
hans verhoef

these functions are implemented.
they declared by macro in dbdimension.h file:
code:
#define var_def(a, b, dxf, c, d, r1, r2) \
/** returns the dim##b value of this dimension entity. */ \
virtual a dim##b() const; \
/** sets the dim##b value of this dimension entity. */ \
virtual void setdim##b(a);
#include "dimvardefs.h"
#undef var_def
sincerely yours,
george udov
quote:
originally posted by george udov
these functions are implemented.
they declared by macro in dbdimension.h file:
code:
#define var_def(a, b, dxf, c, d, r1, r2) \
/** returns the dim##b value of this dimension entity. */ \
virtual a dim##b() const; \
/** sets the dim##b value of this dimension entity. */ \
virtual void setdim##b(a);
#include "dimvardefs.h"
#undef var_def
thank you very much for your help. i can now test the rest of what our application will need to be able to do.


所有的时间均为北京时间。 现在的时间是 11:08 PM.