AutoCAD Commands That Use Deep Clone and Wblock Clone

A number of AutoCAD ® commands use the deepClone() function to create new objects from old ones. In some cases, one version of the command performs deep cloning, while another version does not. Commands using deepClone() and wblockClone() are as follows:

COPY
Uses deepClone().
COPYCLIP

Uses wblockClone() to create a temporary database. The path to this database is placed on the Clipboard.

CUTCLIP

Uses wblockClone() to create a temporary database. The path to this database is placed on the Clipboard.

PASTECLIP

Inserts the temporary database created by COPYCLIP or CUTCLIP using wblockClone().

ARRAY

Uses deepClone().

MIRROR

If both the original and the mirrored objects are preserved, uses deepClone(). If the original objects are deleted, deepClone() is not used (the original objects are only mirrored).

BLOCK

Uses deepClone(). This command copies the entities into another space and erases the original entities.

INSERT

When you insert a drawing, this command uses deepClone() to copy the entities into the drawing.

WBLOCK

Uses wblockClone(). This function follows hard ownership and hard pointer connections only. All other copy commands that use deepClone() follow both hard and soft ownership connections from the primary object.

XBIND

Uses wblockClone() to bring the referenced entities into your current drawing.

EXPLODE

When you explode an object into its parts, no cloning is performed.

When you explode a block reference, AutoCAD deletes the block reference entity and copies the individual entities into the drawing. This version of EXPLODE uses deepClone().