高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】dimension style ext line fixed
dimension style: "ext line fixed"
dimension style: "ext line fixed"
hi,
i'm not able to find in dwgdirect what corresponds to "ext line length" parameter of autocad dimensions (autocad 2006). i made a dxf to see group codes:
1001
acad_dstyle_dimext_length
1070
378
1040
10.0
...
1001
acad_dstyle_dimext_enabled
1070
383
1070
0
how can i get and set those parameters?
ciao
marco
dimexe dimension variable specifies the distance extension lines extend beyond dimension lines.
dimexo specifies the distance extension are offset from their origin points (specifies a minimum value when fixed-length extension lines are used).
to get/set these variables, use dd functions
oddbdimension::dimdimexe()
oddbdimension::dimdimexo()
oddbdimension::setdimdimexe()
oddbdimension::setdimdimexo()
and same functions of oddbdimstyle and oddbdatabase.
sincerely yours,
george udov
hi,
dimexe and dimexo are not what i was searching for. i found these methods in dbdimension.h:
bool oddbdimension::getextlinefixlenenable() const;
void oddbdimension::setextlinefixlenenable(bool extlinefixlenenable);
double oddbdimension::getextlinefixlen() const;
void oddbdimension::setextlinefixlen(double extlinefixlen);
which seem to be the right ones.
ciao
marco
|