Sorry I can't help with it,
just an idea > try ed.UpdateScreen(); at the end of code
currently I just have a AutoCAD 2010 on my machine installed
Yeah thanks...I have tried that and also with Editor.Regen()'s interspersed before and after. So far to no avail.
It is quite hard to say what might be causing it with only the code snippet.
You may try using the DBText.adjustAlignment method.
This is the explanation for this method from the documentation :
"....if the text entity is embedded in another entity, it will never be closed in which case it won't automatically be adjusted....."
Also if you have side database, then ensure that it is the working database before calling the adjustAlignment method.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.