COPY_OD.lsp – copy OD from graphic element to other graphic elements
(C) Copyright 1998 by Autodesk, Inc

COPY_OD.lsp.zip – LISP program to copy OD from graphic element to other graphic elements.

AutoCAD Map/Civil 3D, 2010-2020.
Author: (C) Copyright 1998 by Autodesk, Inc.
Call command: COPY_OD

The AutoCAD message box prompts you to select an OD source object:
Select SOURCE object:
Select OD source object.

The AutoCAD message box prompts you to select OD destination objects:
Select TARGET objects:
Select OD destination objects.

If the receiver object already has similar ODs, the name of the first such OD is displayed in the AutoCAD message box:
Processing source table qqq.
At the command line, you must specify how to add such an OD:
Overwrite existing record(s) on target? (All/Yes/No) :

Selecting All (_A, _All) replaces all the same named ODs in the recipient object and the values in them.
Selecting Yes (_Y, _Yes) replaces the specified OD

If the receiver object has other similar ODs, then the name of the following such OD is displayed in the AutoCAD message box:
Processing source table TBL_AcDbEllipse.

Etc.

If you select No (_N, _No), the specified OD is not replaced.

You should be careful when copying topological ODs - starting with CNTR_, TPM. Topological models may be damaged.


There is a similar program - UHODCOPY.VLX. It copies the OD into only one graphic element.