Copy to Layouts
|Function Syntax||C2L / C2AL|
|View HTML Version||Copy2LayoutsV1-1.html|
This program enables a user to quickly copy a selection of objects to all or selected layouts in a drawing.
Upon calling the program with C2L at the AutoCAD command line, the user is prompted to make a selection of objects residing in the current layout to copy. Following selection, the program calls my List Box function and the user is prompted via a dialog interface (illustrated below) to choose one or more layouts to which the set of objects will be copied.
Alternatively, if the user issues the command syntax C2AL at the AutoCAD command line, every object in the selection is automatically copied to all layouts in the drawing (except the active layout), without the use of the dialog interface.
The program will copy the selected objects using a deep-clone method, ensuring that all information associated with the selected objects is retained.
Instructions for Running
Please refer to How to Run an AutoLISP Program.