怎么修改实体的标注样式
<p>AcDbEntity类没有SetDimStyle的方法,不知道该怎么解决问题了。</p><p>请大家帮帮忙!</p> <p>干嘛要去AcDbEntity找?哪个类就在哪个类找,找不到再去父类找阿~</p><p>AcDbDimension::setDimstyleData,这个设置</p><p class="signature">Acad::ErrorStatus setDimstyleData(AcDbDimStyleTableRecord* pNewData);</p><p><table class="argumentList"><tbody><tr valign="baseline"><td class="argumentName">pNewData</td><td class="argumentDescription">Input pointer to the <span class="code">AcDbDimStyleTableRecord whose data is to be applied to this dimension</td></tr></tbody></table></p></span> <p class="signature">Acad::ErrorStatus</p><p class="signature">setDimensionStyle(</p><p class="signatureInEnd">AcDbObjectId unnamed);</p><table class="argumentList"><tbody><tr valign="baseline"><td class="argumentName">unnamed</td><td class="argumentDescription">Input object ID to be used by AcDbDimStyleTableRecord</td></tr></tbody></table><p>This function sets the dimension to use the <a href="mk:@MSITStore:F:\ObjectARX\ObjectARX%202006\docs\arxref.chm::/AcDb/AcDbDimStyleTableRecord/AcDbDimStyleTableRecord.htm">AcDbDimStyleTableRecord</a> with the object ID styleId.</p><p>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.</p><p>The text string name within the referenced DimStyleTableRecord is used for DXF group code 3.</p><p>This function returns Acad::eOk.</p> 有没有这方面的详细分解呢 请没有具体的示例供学习参考呢,一直在等。
页:
[1]