Array 1D, Array 2D, Array3D
Create array datasets.
Syntax
model.result().dataset().create(<dtag>,"Array1D");
model.result().dataset().create(<dtag>,"Array2D");
model.result().dataset().create(<dtag>,"Array3D");
model.result().dataset(<dtag>).set(property, <value>);
Description
model.result().dataset().create(<dtag>,"Array1D") creates a 1D array dataset feature named <dtag>.
model.result().dataset().create(<dtag>,"Array2D") creates a 2D array dataset feature named <dtag>.
model.result().dataset().create(<dtag>,"Array3D") creates a 3D array dataset feature named <dtag>.
This dataset takes data from another dataset and adds an array of copies in cells as a linear, rectangular (2D), or three-dimensional (3D) array of cells.
The following properties are available for Array 1D, Array 2D, and Array 3D:
corner | center
If hasvar is true: an integer variable that identify the current cell in the array.
If hasvar is true: an integer array that identify the current cell in the array.
none | dataset name
{"0","0"} (2D); {"0","0","0"} (3D)
auto | manual
on | off
1 (1D); {1, 1} (2D); {1, 1,1} (3D)
auto | manual
{"0","0"} (2D); {"0","0","0"} (3D)
If inputmethod is manual: The coordinates (position) of the base point. If base is set to corner, it is the lower-left corner of the base cell.
{"1","1"} (2D); {"1","1","1"} (3D)
If inputmethod is manual: The size of the input.
If hasvar is true: The name of space variables, which evaluate to the coordinates in the dataset’s coordinate system.
linear | rectangular | three-dimensional
rectangular (2D); three-dimensional (3D)