Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Valued Contributor
shawndoe
Posts: 73
Registered: ‎03-27-2005
Message 1 of 3 (171 Views)

Mtext string in group 1 does not match text shown or in property window.

171 Views, 2 Replies
05-17-2012 05:35 PM

Hi,

 

I have a routine that looks for an MText date stamp and replace the old date with a new date.  The problem is some MText strings appear encrypted.  Below is an example:

 

{\\H1.121x;\\C1; \\LFY 2011-12\\l \\H0.6252x;04-30-11} This is what I should get when I extract the string (as shown in Property window)

 

(1 . "\\pxi-2.1818,l4.3636,ql,t4.3636;{\\fSymbol|b1|i0|c2") is what I get when I extract the group code.

 

Anybody know what is going on?  I'm running AutoCAD 2012 on Windows 7.

 

Thanks for the help.

Shawndoe

 

*Expert Elite*
pbejse
Posts: 2,406
Registered: ‎11-24-2009
Message 2 of 3 (149 Views)

Re: Mtext string in group 1 does not match text shown or in property window.

05-18-2012 05:32 AM in reply to: shawndoe

shawndoe wrote:

Hi,

 

I have a routine that looks for an MText date stamp and replace the old date with a new date.  The problem is some MText strings appear encrypted.  Below is an example:

 ....

Anybody know what is going on?  I'm running AutoCAD 2012 on Windows 7.

 

Thanks for the help.

Shawndoe

 


That is odd, can youi post here the MTEXT drawing in question.

*Expert Elite*
vladimir.michl
Posts: 233
Registered: ‎09-17-2006
Message 3 of 3 (124 Views)

Re: Mtext string in group 1 does not match text shown or in property window.

05-21-2012 02:38 AM in reply to: shawndoe

Please note there can be multiple "group 1" sections in MText entities. For the explanation of MText control codes go to http://www.cadforum.cz/cadforum_en/text-formatting-codes-in-mtext-objects-tip8640

 

Vladimir Michl, www.cadstudio.cz


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community