.NET

.NET

Reply
Distinguished Contributor
HJohn1
Posts: 170
Registered: ‎09-26-2008
Message 1 of 2 (211 Views)

AttributeReference TextString MTextAttribute

211 Views, 1 Replies
03-16-2012 03:21 PM

I am using MTextAttributes to store imperial lengths in the drawing, feet inches and fractions (stacked).  When I read back the TextString property which, is the MtextAttribute.Contents parsed, I am having problems because the parser does not add a space between the inch and the fraction.  So, is there any setting that could be used to tell the parser to add the space between the inch and the fraction?  I will really appreciate any help.

Valued Contributor
FFlix
Posts: 95
Registered: ‎11-15-2011
Message 2 of 2 (181 Views)

Re: AttributeReference TextString MTextAttribute

03-18-2012 10:50 AM in reply to: HJohn1

hi, check setting for systemvariable UNITMODE which "controls the display format for units", if it's 1, set to 0. (default is 0 though, worth a try, maybe?) felix

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.