![]() |
【转帖】[arx]小妹有个问题!!!标注样式!!!
[arx]小妹有个问题!!!标注样式!!!
[arx]小妹有个问题!!!标注样式!!! 怎样在当前cad文件中修改它的标注样式啊??哪位大哥哥能给一个简单的例子吗????比如修改当前文字的字体,大小? 大姐这样回答小妹: 参见:acdbtextstyletablerecord和acdbdatabase::textstyle() void gettextstyleid(const char *stylename,acdbobjectid &styleid) { acdbtextstyletable *pstyletable; acad::errorstatus es = acdbhostapplicationservices()->workingdatabase()->getsymboltable(pstyletable, acdb::kforread); if (es == acad::eok) { es = pstyletable->getat(stylename, styleid, adesk::kfalse); pstyletable->close(); } } 然后creat一个acdbdimstyletablerecord 的变量 setdimtxsty(acdbobjectid )就可以了 |
所有的时间均为北京时间。 现在的时间是 01:38 PM. |