A-script. Remove all REMs from model formulas

392 viewsScripting

There are cases when you want to quickly delete all formulas’s comments of a model.
Below I show my solution in the form of an Action script. This A-script uses RegEx that matches both single-line and multi-line comments of model’s formulas. I have hidden the search pattern from you for now so that you yourself think about developing your own pattern, seeing my working solution.

Answered question

Solution demo
This two-matrix model is a simplified version of the real one. The script-button on the canvas serves as a simplifying tool for showing the results of the A-script. I cancel the A-script action using Ctrl+Z.


Changed status to publish
You are viewing 1 out of 3 answers, click here to view all answers.