请教如何设置尺寸界线的高度为一个定值
大家如图片所示,我想把图中的H值设置为一个定值,以便实现自动标注,请问大家这个数值有什么函数设置,如何实现,实在是想不出如何设置,请大家多多指教!! ;刚才图片没有传上来,如图 其实这是一个很好的问题,可惜我不知道答案。 大家快来帮帮他啊,也算是帮助我们自己了 应该这样描述:请教如何设置尺寸界线的高度为一个定值,而尺寸界线的原点不能变 AcDbRotatedDimension(double rotation,
const AcGePoint3d& xLine1Point,
const AcGePoint3d& xLine2Point,
const AcGePoint3d& dimLinePoint,
const ACHAR * dimText = NULL,
AcDbObjectId dimStyle = AcDbObjectId::kNull);
rotation Input rotation angle (in radians) for the dimension
xLine1Point Input start point (in WCS coordinates) of first extension line
xLine2Point Input start point (in WCS coordinates) of second extension line
dimLinePoint Input point (in WCS coordinates) on dimension line itself
dimText Input text string to use as the dimension annotation
dimStyle Input object ID of AcDbDimStyleTableRecord to use
以上是旋转标注的构造函数,第四人参数const AcGePoint3d& dimLinePoint就是设置H高度值的。
或者用他的编辑函数:
Acad::ErrorStatus
setDimLinePoint(
const AcGePoint3d& unnamed);
unnamed Input point (in WCS coordinates) that will lie on the dimension line
这个确实很实用,希望高手帮忙解决
页:
[1]