几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】missing variables (http://www.dimcax.com/hust/showthread.php?t=17232)

yang686526 2009-05-06 05:57 PM

【转帖】missing variables
 
missing variables
missing variables
hi,
i磎 missing the following system and dimstyle variables when importing.
can anyone tell me where they are to be found?
for all of them the enums are missing in the libary too.
1st: when importing dimstyles i can磘 find the variables dimpost and dimapost (pre- and suffix for dimension measurements), are they stored in xdata? they are only to be found in the header.
2nd: importing global system variables i also can磘 find the variable clayer (current layer)
all of the variables mentioned above are strings or char-arrays
thanks in advance
mfg scsmember
off the oddbdatabase you should find the following:
oddbhardpointerid idofcurrentlayer = pdb->getclayer();
odstring st = pdb->dimapost();
odstring st = pdb->dimpost();
oddbdatabase, oddbdimstyletablerecord and oddbdimension have methods
dimpost() setdimpost()
dimapost() setdimapost()
and other dimension variables accessing methods. they are defined via container dimvardefs.h
in oddbdimension class these methods access xdata.
sergey slezkin


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