as a p.s. I changed the
original field removal function
from the entdel version to the
dictremove version, because
the dictremove version ignores
locked layers, whereas the
entdel version does not.
Because of my drawing (with Fields both on attributes and mtext, on several paper space layouts) are intended to be inserted inside another drawing, with obviously the lost of requested Object IDs, I should replace all fields presents in my drawing before it could be inserted...
Do you have a solution to do it in only one command ?
I've tried to use your code, but in paper space, because it's where I have all my fields...
I've disabled the space control inside your code to not switch to tilemode 1.
I obtain no error, but all my fields stayed in place...
Do you have an idea of the reason why it doesn't work in paper space ?
To match my need, do you know about a code wich works in paperspaces (several layouts... But I don't mind in launching a comand in each one...
Thanks a lot for you big help !!!
that code was written a few years ago.
While it worked fine in Autocad 2007
I have since discovered that it does not work
properly with Mtext & Dimensions in 2008 & 2009.
Attached is a revised version which does work.
I have changed it to only modify entities in paperspace.
Change the file name from R-FIELDS-PS.TXT
Looking at your lisp "R-FIELDS-PS" and I like it a lot cause I'm using fields everyday, and at the moment I've got a few drawings with more than 2000 fields in texts, dims, mtexts and block attributes. I have used your old version of the lisp posted before and like it a lot.
Now, looking at the code of "R-FIELDS-PS", I can't find the way to make it work only in model space insted of only paper space.
Can you, or some one, give me a hand to modify your lisp please?