Share

TitleBlockDefinition.CopyTo Method

Parent Object: TitleBlockDefinition

Description

Method that copies the definition to the target drawing document.

Syntax

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

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.

Samples

Name Description
Copying a title block definition This sample demonstrates copying a title block definition from one drawing to another and replacing the existing title blocks in the drawing with the new title block.

Version

Introduced in version 10

Was this information helpful?