干嘛要去AcDbEntity找?哪个类就在哪个类找,找不到再去父类找阿~
AcDbDimension::setDimstyleData,这个设置
Acad::ErrorStatus setDimstyleData(AcDbDimStyleTableRecord* pNewData);
pNewDataInput pointer to the AcDbDimStyleTableRecord whose data is to be applied to this dimension
Acad::ErrorStatus
setDimensionStyle(
AcDbObjectId unnamed);
unnamedInput object ID to be used by AcDbDimStyleTableRecordThis function sets the dimension to use the with the object ID styleId.
If styleId is AcDbObjectId::kNull (or just NULL), then when the dimension is closed it will be set to use the current default dimStyle in the AutoCAD editor.
The text string name within the referenced DimStyleTableRecord is used for DXF group code 3.
This function returns Acad::eOk.