Copy Information

In many transformations there is a substantial amount of information to be copied.

It would be tedious to type all of the common information into a template so that it is copied to the transformed Class; the alternative is to use the TRANSFORM_CURRENT and TRANSFORM_TAGS function macros.

Use of Macros

Objective

Detail

See also

Copy Object

TRANSFORM_CURRENT(<listOfExcludedItems>)

 
The function generates an exact copy of all the properties of the current item, except for the items named in <listOfExcludedItems>.

 

Objects

Copy Connector

Another form of the function is available when transforming connectors to copy either end of the connector:

TRANSFORM_CURRENT(<connectorEnd>,<listOfExcludedItems>)

 
This generates an exact copy of the connector end specified by <connectorEnd> (either Source or Target) except for the items named in <listOfExcludedItems>.

 

Connectors

Copy Tags

TRANSFORM_TAGS(<listOfExcludedItems>)

 
The function generates an exact copy of all the Tagged Values of the current item, except for the items named in <listOfExcludedItems>.