![]() |
【转帖】position of dimension te
position of dimension text
position of dimension text i tried to write a dimension that changed text position. i use dd 1.12.04. odrxobjectimpl<myservices> svcs; oddbdatabaseptr pdb = svcs.createdatabase( true, oddb::kmetric ); ... oddbrotateddimensionptr pent = oddbrotateddimension::createobject(); pent->setdatabasedefaults( pdb ); pent->setdimensionstyle( pdb->getdimstylestandardid() ); pent->setdimlinepoint( odgepoint3d(50, 30, 0) ); pent->setxline1point( odgepoint3d(0, 0, 0) ); pent->setxline2point( odgepoint3d(50, 0, 0) ); pent->settextposition( odgepoint3d(15, 30, 0) ); pent->usesettextposition(); when opening in autocad, there was a problem.(broken line) but when editing in autocad, there was a normalization. (ex. changing color) is this a problem of recomputedimblock() ? here a drawing. attached images yes, the dimension block was incorrectly created by recomputedimblock() and recalculated by autocad. sergey slezkin is this dd bug ? or a method ? recomputedimblock() is a method. it creates incorrect dimension block in your case. this is dd bug. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 04:59 AM. |