The
ApplyToDuplicate property lets you specify whether to create duplicates of objects while transforming them. The
ApplyToDuplicate property is used mainly for user interface compatibility and recording. Some commands may result in several duplicates and some may produce none. There is no way of referencing the duplicated shape; therefore, it is recommended that you use the
Shape.Duplicate method to create duplicates of shapes. (This method works almost as quickly.) It is important to note that the
ApplyToDuplicate property affects the global state of the document. Changing this property may affect other script execution. You should always restore the state of
ApplyToDuplicate after using it.