|
想删除掉自定义的字典,但是在AutoCAD中没找到相应的命令,特此写了一个,很简单
void deldict()
{
AcDbDictionary* pNamedobj;
acdbHostApplicationServices()->workingDatabase()->getNamedObjectsDictionary(pNamedobj, AcDb::kForWrite);
Acad::ErrorStatus es = pNamedobj->remove("ASDK_DICT_XXXX");
pNamedobj->close();
} |
|