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.

Reference:

Topic

Detail

See also

TRANSFORM_CURRENT

TRANSFORM_CURRENT(<listOfExcludedItems>)

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

Another form of the function is available when transforming connectors that enables either end of the connector to be copied:

  • TRANSFORM_CURRENT(<connectorEnd>,<listOfExcludedItems>)

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

 

TRANSFORM_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>