高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|