Editing a Mesh Feature
To change a property value in a feature, enter
model.component(
<ctag>
).mesh(
<tag>
).feature(
<ftag>
).set(
property
,
<value>
);
where
property
is a property name and
<value>
is a property value.
All numeric properties can be given either as a numeric value or as a string expression that can contain parameters defined in
model.param()
. When building the feature, the string expressions are evaluated using the current values of the parameters.
To get the value of a property, enter one of the following, depending on the property type:
double d = model.component(
<ctag>
).mesh(
<tag>
).feature(
<ftag>
).getDouble(
property
);
String s = model.component(
<ctag>
).mesh(
<tag>
).feature(
<ftag>
).getString(
property
);
double[] da = model.component(
<ctag>
).mesh(
<mtag>
).feature(
<ftag>
).
getDoubleArray(
property
);
String[] sa = model.component(
<ctag>
).mesh(<
tag>
).feature(
<ftag>
).
getStringArray(
property
);
If you request a numerical value for a string property, it is evaluated using the current values of the parameters in
model.param()
.