Message 1 of 3
Stretching Dimensions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I create a Dimension Style and it works fine, but when I stretch it, the text does not re-center. Here's part of my code:
pDimTable->upgradeOpen();
pDimTblRecord = new AcDbDimStyleTableRecord;
pDimTblRecord->setDimscale(96.0); // dim scale
pDimTblRecord->setDimtxt(0.25); // height of text
pDimTblRecord->setDimzin(0); // 0'-0"
pDimTblRecord->setDimblk(_T("_CLOSEDFILLED")); // arrow type
pDimTblRecord->setDimunit(4); // architectural
pDimTblRecord->setName(csStyleName);
pDimTblRecord->setDimrnd(0.0); // round-off values set to none
pDimTblRecord->setDimtad(1); // sets vertical text position to above the line
pDimTblRecord->setDimtoh(0); // aligns text with the dimension line
pDimTblRecord->setDimjust(0); // Positions the text above the dimension line and center-justifies it between the extension lines
pDimTblRecord->setDimtxsty(recId); // text style record id for "SIMPLEX" - see above
pDimTblRecord->setDimfrac(2); // fractions not stacked
What am I missing?
Thanks,
Ed