高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】get text height in rotateddimension
get text height in rotateddimension
get text height in rotateddimension
i am using dwgdirect c++ libraries.
how get text height in rotateddimension?
there is not method or property in oddbrotateddimension.
helpe please,thanks.
hello!
use this method "dimtxt()" for all dimentions.
you can find more methods in dwgdirect help or see dimvardefs.h.
best regards,
sergey z.
thanks,
but,there is not the method in help file,why?
how use it?
dimvardefs.h
/*** vardocs:
<properties>
<remarks>
"\n dimtvp specifies, as a factor of dimtxt, the vertical distance of the middle"
"\n of the dimension text with respect to the dimension line."
</remarks>
</properties>
*/
var_def(double, tvp, 145, (0.0), (0.0), (), validatenone())
/*** vardocs:
<properties>
<remarks>
"\n dimtxsty specifies the text style of the dimension text."
</remarks>
</properties>
*/
var_def(odttextstyleid, txsty, 340, (oddbobjectid::knull),(oddbobjectid::knull),(), validatetextstyle())
/*** vardocs:
<properties>
<remarks>
"\n dimtxt specifies the size of the dimension text."
</remarks>
</properties>
*/
var_def(odtdist, txt, 140, (0.18), (2.5), (), validatenone())
attached images (74.1 kb, 2 views)
quote:
originally posted by skunkworks
thanks,
but,there is not the method in help file,why?
possible you use old version of dwgdirect.
quote:
originally posted by skunkworks
how use it?
dimvardefs.h
this file contents description of dimension variable and it is used in macros in description methods for oddbdimension class.
var_def first parameter is type of property.
the second is name property.
accordingly the method for read will be dim##name() and method for write will be setdim##name().
best regards,
sergey z.
|