OS. To start a new macro project
To create a new macro project for this tutorial and to then open it in the STAAD.Pro Script Editor, use the following procedure.
The macro used in
this tutorial is intended to run in an empty file. Therefore, you should start
with an new STAAD input file in the Analytical Modeling worfklow.
-
On the
Utilities ribbon tab, select the
Macro tool in the
Developer group.
The Macro dialog opens. - Click Create New. The New Macro File Name dialog opens.
-
Type a
File name and optional
Description of Macro.
For this tutorial, type Frame in the File name field and then type Create a 2D frame with supports in the Description of Macro field.
- Click New. The STAAD.Pro Script Editor window opens. An empty script is loaded with for your file.
- Select the line 'TODO: Add your code here (i.e., line 4) and press <Delete>.