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 。
2021年目标:完成新书《闻缺陷则喜》,本博客右上公告有下载、阅读链接。

浙公网安备 33010602011771号