Use the following procedures to create, edit and delete array dimensions and elements.
Note: For information on how to assign dimensions to existing entities and how to define values/equations for array elements, see Creating arrayed entities.
From the Interface, Model, or Equation menu, choose Array Editor.
The Array Editor dialog box opens.
To create a new dimension, click the button below the "Array dimensions" list.
A new row appears in the "Array Dimensions" list.
In the name column, type a name for the new dimension.
Note: You can also add a new dimension and its label elements by copying and pasting them from a spreadsheet, comma-separated list, or tab-separated list. For more information, see To create a dimension by importing label elements.
In the Indexed By column, select the type of dimension you are creating: Number or Label..
In the "Size" column, select the number of elements you want to create for the dimension.
For a Label dimension, the corresponding number of rows appear in the "Dimension Element Labels" list.
Type the name for each element in the "Dimension element labels" list.
Note: You can also paste label elements from a spreadsheet, comma-separated list, or tab-separated list. For more information, see To paste copied label elements.
You can now assign the dimension to entities in your model.
To edit a dimension or its elements, or to delete dimensions or elements, see To edit array dimensions and elements, below.
Use the following procedures to edit dimensions and elements in the Array Editor dialog box.
Notes: Plan your dimensions and elements carefully before you assign them to entities. Changes you make to dimensions and elements apply to all entities to which the dimensions are assigned.
When you add new element labels to a dimension that is assigned to one or more entities, we recommend that you add the labels to the end of the list of labels rather than inserting them between existing labels.
Use the following procedure to create a dimension and its label elements by copying a list of label elements from a spreadsheet, a comma-separated list, or a tab-separated list.
In the Array Editor dialog box, click the button under the "Array dimensions" list.
A new dimension appears with a default name in the "Array dimensions" list and the copied label elements appear in the "Dimension element labels" list.
Use the following procedure to copy a list of label elements from a spreadsheet, a comma-separated list, or a tab-separated list.
Select where in the list of element labels you want to paste the new elements:
To overwrite existing labels with the pasted labels, click to highlight any element lines that you want to overwrite. You can use CTRL+click (Window)/Command-click (Macintosh) to select separate element labels, or use SHIFT+click to select a range of element labels.
To insert the pasted labels into an existing list of labels, select the label above which you want to insert the new labels.
Click the button, or press CTRL+V (Windows) or Command-V (Macintosh). The copied elements appear in the list of elements.
Notes: Each element label must be unique. If you paste element labels that have the same names as existing ones, the software pastes the new labels with and gives them the next sequential default element names ("Element 1", "Element 2", etc.)
If you overwrote existing labels and selected fewer labels than you pasted, the software overwrites the selected labels, then adds any remaining pasted labels to the list.