Array 1D, Array 2D, Array3D
Create array data sets.
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 data set feature named <dtag>.
model.result().dataset().create(<dtag>,"Array2D") creates a 2D array data set feature named <dtag>.
model.result().dataset().create(<dtag>,"Array3D") creates a 3D array data set feature named <dtag>.
This data set takes data from another data set 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 | data set 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 data set’s coordinate system.
linear | rectangular | three-dimensional
rectangular (2D); three-dimensional (3D)