You can run a transformation on an entire model, or on a subset
of elements in a model to generate the output that you expect. You can run
a transformation on the source model or elements that you specify in the transformation
configuration, or you can override the source specified in the transformation
configuration by selecting elements in the model and then choosing a transformation
configuration to apply.
Before
you can run a transformation, you must create a transformation configuration.
When you apply a transformation configuration, an instance of the transformation
is created and the transformation runs with the properties that the configuration
defines.
If you select
source elements in the model instead of using the transformation configuration,
the source elements that you select override the source model or elements
specified in the transformation configuration. The
transformation configuration is not affected and the source that you specify
on the Source and Target page of the transformation configuration
editor or the New Transformation Configuration wizard does not change.
To run a transformation, complete
one of the following steps:- To run the transformation on the source specified
in the configuration, depending on the view that you are working in, complete
one of the following steps:
- In the navigation
view, right-click a transformation configuration
(.tc) file; then click Transform and click a transformation.
- In the Pattern Explorer view,
right-click a transformation; then click Run Transformation.
In the Select configuration dialog box, specify the
transformation configuration to run, and click OK.
Tip: You can also
run a transformation from the transformation configuration editor. On the
Main page,
click
Run.
- To specify a different source on which to
run the transformation, in the Modeling perspective,
select and right-click elements in the source model or project; then click Transform,
click a transformation configuration, and click a transformation.
Tip: To run this transformation again,
click . The transformation uses the
same source elements from when you last ran the transformation.