SketchedSymbolDefinition.CopyTo Method

Parent Object: SketchedSymbolDefinition

Description

Method that copies the definition to the target drawing document.

Syntax

SketchedSymbolDefinition.CopyTo( TargetDocument As DrawingDocument, [ReplaceExisting] As Boolean ) As SketchedSymbolDefinition

Parameters

Name Type Description
TargetDocument DrawingDocument Input DrawingDocument object that specifies the document to copy the definition into.
ReplaceExisting Boolean Optional input Boolean that specifies whether to replace or create a new definition with a different name if a definition of the same name exists in the target document. If not specified, the argument defaults to False indicating that a new definition will be created.

This is an optional argument whose default value is False.

Version

Introduced in version 10