![]() |
【转帖】about dimstyle111
about dimstyle!!!
about dimstyle!!! hi`, everybody! can you tell me how to get the current dimstylerecord in oddbdatabase object! and can give me an example!! waiting for your answer! oddbobjectid oddbdatabase::getdimstyle() sergey slezkin thank you, sergey slezkin! but i have another question: is the returen value oddbobjectid a oddbdimstyletable id, or a oddbdimstyletablerecord id? hi,sergey slezkin ! i checked in the dwgdirect help document ,there are no getdimstyle() function in oddbdatabase, i think you make a mistake! hi,sergey slezkin ! i find the getdimstyle function ,i made a mistake, thank you for your help! hi sergey slezkin ! could you please give me the code snippet for use of getdimstyle api ? thank you very much. code: oddbdatabaseptr pdb = ...; oddbobjectid iddimstyle = pdb->getdimstyle(); oddbdimstyletablerecordptr pdimstyle = iddimstyle.openobject(); // for read or oddbdimstyletablerecordptr pdimstyle = iddimstyle.openobject(oddb::kforwrite); // for write sergey slezkin |
所有的时间均为北京时间。 现在的时间是 11:24 PM. |