Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2 REPLIES 2
Reply
Message 1 of 3
shawndoe
404 Views, 2 Replies

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

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

 

2 REPLIES 2
Message 2 of 3
pbejse
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.

Message 3 of 3
vladimir_michl
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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost