This routine works like the built-in Copy command, except that copied text or mtext entities are referenced to the originals using fields. Load the LISP file, then type in the command RefCopy. Select your objects and copy them as you normally would. Once you do so, any new text or mtext entities will gain fields that point to the original text or mtext entities. This means if you edit the original, the copy updates also. Note that the timing of the update depends on the system variable FieldEval. Leland Leahy's code offers a good example of how to create fields with LISP code. |