Writing Transformations - Transforming Duplicate Information
In many transformations there will be a substantial amount of information that will 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 function macro to do exactly this.
TRANSFORM_CURRENT(<listOfExcludedItems>)
Will generate an exact copy of all the properties of the current item, except for the items named in <listOfExcludedItems>.
Another form of this is available when transforming connectors that allows either end of the connector to be copied.
TRANSFORM_CURRENT(<connectorEnd>,<listOfExcludedItems>)
Will generate an exact copy of the connector end specified by <connectorEnd> except for the items named in <listOfExcludedItems>.
Where <connectorEnd> is either "Source" or "Target".