Copy Field

Function Syntax copyfield
Current Version 1.1
Download CopyFieldV1-1.lsp
View HTML Version CopyFieldV1-1.html

Program Description

This program enables the user to copy a field expression from a selected source object to multiple destination objects in a drawing.

Upon issuing the command syntax copyfield at the AutoCAD command-line, the user is prompted to select an annotation object (Text, MText, Attribute, Multileader, Dimension) containing a field expression to be copied.

Following a valid response, the user may then copy the field to multiple selected destination objects in the drawing, whose content will then be replaced by the field expression and any associated content from the source object.

This program utilises my Field Code function to extract the field expression associated with a selected object and is hence also compatible with nested field expressions (nested to any depth).


Copy Field Demo

Instructions for Running

Please refer to How to Run an AutoLISP Program.


increase · reset · decrease

Designed & Created by Lee Mac © 2010