Transformations can also be applied on demand in your model as a sort of design pattern. You can design a pattern using the transformation feature and "play" it in your model in order to modify objects.
For example, if you are working in an OOM, you can create a transformation that converts all analysis classes with the <<control>> stereotype into components in order to add an implementation layer to your model.
You can only invoke post-generation transformations on demand.