Surface (Dataset)
Create a surface dataset.
Syntax
model.result().dataset().create(
<dtag>
,"Surface");
model.result().dataset(
<dtag>
).set(
property
,
<value>
);
Description
model.result().dataset().create(
<dtag>
,"Surface")
creates a surface dataset with the name
<dtag>
.
The surface dataset makes it possible to evaluate surfaces of a 3D model in 2D or 3D. For evaluation in 2D, different parameterizations of the 2D projection are available.
The following properties are available:
Table 7-143:
Valid Property/Value Pairs for Surface Datasets.
Property
Value
Default
Description
data
none
| dataset name
First compatible dataset
The solution dataset this feature refers to.
param
face
|
xy
|
yz
|
zx
|
yx
|
zy
|
xz
|
expr
face
The projection used when evaluating in 2D.
exprx
String
When
param
is
expr
: The x-axis expression when evaluating in 2D.
expry
String
When
param
is
expr
: The y-axis expression when evaluating in 2D.
hasvars
Boolean
false
If space variables are defined.
spacevars
String array
Depends on the feature’s tag
If
hasvar
is
true
: The name of space variables, which evaluate to the coordinates in the dataset’s coordinate system.