.NET

.NET

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

AttributeReference TextString MTextAttribute

205 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 (175 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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.