MPS
 
2021.1
Get MPS
You are viewing the documentation for an earlier version of MPS.

Scripts

Last modified: 23 March 2021

The scripts aspects lets you perform changes to your models in batches. The available scripts are shown in the Tools -> Scripts menu.

Scripts use
There are two types of scripts:
  • enhancement- perform a change to the model based on criteria that you specify

  • migration- a deprecated type that used to be utilized for migration between language versions. Language migrations now take care of this functionality and so migration scripts are no longer available top be created.

To define your scripts, create the Scripts aspect in your language and then create an Enhancement Script.
Scripts language mig script

Give it a name and a descriptive title. 

Scripts name
Then you specify one or more updaters. They are of several kinds.
Scripts updaters