system variables for dimension style tolerance- alignment
system variables for dimension style tolerance- alignment
hi!
i can't find appropriate acad system variables for acad's dimension style dialog ->modify..., the last folder 'tolerances', radio buttons inside 'tolerance alignment', namely, 'align decimal separators' and 'align operational symbols'.
could you, please, help me?
thanks in advance.
hello
this variable is stored in xdata
1001
acad_dstyle_dimtaln
1070
392
1070
1 1 - 'align decimal separators' 0 - 'align operational symbols'
best regards,
sergey z.
thank you, sergey!
but how can i access this variable, using dd functions (such as style_->dimtp() for upper value of tolerance)? it seems, there is no function that looks like dimtaln()...
quote:
originally posted by
aziyatdinov@infrasoft.ru
thank you, sergey!
but how can i access this variable, using dd functions (such as style_->dimtp() for upper value of tolerance)? it seems, there is no function that looks like dimtaln()...
hello
you are right. there is no such function.
try to use next code
code:
oddbdimensionptr pdim;
odresbufptr prb;
prb = pdim->xdata("acad_dstyle_dimtaln");
if ( !prb.isnull() )
{
prb = prb->next();
while ( !prb.isnull() )
{
if ( prb->getint32() == 392 )
{
prb = prb->next();
taln = prb->getint16();
}
prb = prb->next();
}
}
best regards,
sergey z.