Hi all,
I have previously opened a thread in the programming section of AutoLisp for creating a script that would change all my current dimension style text color from yellow (which is unprintable) to white. The initial thread is located here: http://forums.augi.com/showthread.php?p=731005
I have managed to create a script that changes the DXF group code for what I am looking to achieve which is the DIMCLRT attribute of a dimension style.
The problem is that AutoCAD doesn't update the drawing with the new attribute, so the text stays white although the dimension style attribute dialog boxes clearly state that the color should be white.
When updating the color using the "dimstyle" command that opens the dialog box for editing these attributes, it works, autocad applies the new changes. But it doesn't care about my autolisp code.
I am wondering if anyone in here has had problem with that kind of stuff. Do you think there is an option somewhere to apply the autolisp attributes?
I tried regen, redraw, saving and reopening the dwg, restarting autocad, but they all didn't work.
So if anyone has an idea, then he is gratefully welcomed.