Surface (Data Set)
Create a surface data set.
Syntax
model.result().dataset().create(
<dtag>
,"Surface");
model.result().dataset(
<dtag>
).set(
property
,
<value>
);
Description
model.result().dataset().create(
<dtag>
,"Surface")
creates a surface data set with the name
<dtag>
.
The surface data set 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-107:
Valid Property/Value Pairs for Surface Data Sets
Property
Value
Default
Description
data
none
| data set name
First compatible data set
The solution data set 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 data set’s coordinate system.