I have a skill routine making a lot of changes in symbols dra file:
change text blocks, modify texts, move lines,shapes,texts.... and then, when I want to save the DRA file I got a message "Database has been corrupted.
Is there something to do to avoid this?
I tried RefreshID, axlDBCloak.... but I always got the database corrupted.
Thanks for any help.
Looking for this probleme for a while, I finally found:
I ran an axlDBCheck with error reporting on a file... it returns 2 errors about "Part of Symbol Def LINEAR_DIMENSION that does not fit into drawing"
I use an axlExtentDB to auto size the symbol, but this causes that after this auto size, the symbol becomes wrong about these 2 linear elements..
So I have to add a check more in my routine.....
I even need help:
In fact, I move "text, lines and shapes" instead of "all" because axlTransformObject cannot treat DIMENSION object. but it seems that by this way, something of the linear dimension stays at its previous place. So an axlExtentDB is made without it but the database becomes corrupted due to it and its location.
Is there a way to avoid this? (actually, the solution is to expand the axlExtentDB to somewhat to avoid the corruption....) But I need to make something automatic...
Any help would be appreciated