Message 1 of 5
API error when querying DrawingDimension.Text.Text

Not applicable
06-07-2010
06:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have found an API error when attempting to query the text of a dimension that displays dual dimensions (Style: ‘Default – mm [in] (ANSI)’) and Deviation tolerancing. Attempting to query DrawingDimension.Text.Text will cause an “unexpected error”.
So I attempted to query DrawingDimension.Text.FormattedText which equals “<DimensionValue/>”. I checked the length of FormattedText and it’s 17 characters long.
This problem exists in both 2009 and 2011.