AcDbDimStyleTableRecord* p = oo.GetEnt<AcDbDimStyleTableRecord>();
  if( NULL != p )
  {
   AcCmColor suiceng;  
   suiceng.setColorIndex(colorIndex);
   p->setDimtfillclr(suiceng);
   Acad::ErrorStatus es = p->setDimtfill(2);

扩展阅读:
a,如何知道用那些函数?
见下图。





b,setDimtfill 参数范围是多少?
0到2, 参数设置成3会返回错误eMustBe0to2 。

posted on 2023-05-09 18:24  闻缺陷则喜何志丹  阅读(17)  评论(0编辑  收藏  举报  来源