Author Topic: Text in Dimensions  (Read 1843 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Text in Dimensions
« on: November 17, 2006, 01:43:06 PM »
How would you extract the Bounding Box information of Text contained in a Dimension? (Not the Bounding Box of the Dimension itself).


  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Text in Dimensions
« Reply #1 on: November 18, 2006, 12:24:38 AM »
You would need to do a couple of things since the text from a dimension is represented by <> plus the overrides if they exist.

You would need to extract the current text of the dimension (i.e. any text overrides) then the text size and style, plus the dimension length, formatted into a string as specified by the dimension style, then strcat the whole thing together and use something similar to this to returm the bounding box.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on @kblackie


  • Guest
Re: Text in Dimensions
« Reply #2 on: November 18, 2006, 04:48:17 AM »
Use GetSubentity method and you'll have a luck :)