Message 1 of 2
Get Dim Text as 'Rendered' by AutoCAD

Not applicable
02-03-2005
06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Is it possible to get the text from a dimension as it would be displayed on the screen by AutoCAD so I can then set the textoverride?
I have tried for the last two days and have not had any success. I can loop thru the dim entities/dim blocks and find the mtext, get the measured value and set the textoverride - no problem
What I am having trouble with are dims that have an existing override '<>.38 TYP', a measured distance of .3788831 and a dimscale that does not display any decimal places.
AutoCAD properly displays '.38 TYP' but I need to put that into the textoverrride instead of '<>.38 TYP'
Thanks,
Bill
Is it possible to get the text from a dimension as it would be displayed on the screen by AutoCAD so I can then set the textoverride?
I have tried for the last two days and have not had any success. I can loop thru the dim entities/dim blocks and find the mtext, get the measured value and set the textoverride - no problem
What I am having trouble with are dims that have an existing override '<>.38 TYP', a measured distance of .3788831 and a dimscale that does not display any decimal places.
AutoCAD properly displays '.38 TYP' but I need to put that into the textoverrride instead of '<>.38 TYP'
Thanks,
Bill