Mesh > Working with a Meshing Sequence > Editing a Mesh Feature

Editing a Mesh Feature
To change a property value in a feature, enter
model.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.
Behavior has changed since COMSOL Multiphysics version 3.5a. String expression arguments are retained and not converted to numeric values.
To get the value of a property, enter one of the following, depending on the property type:
double d = model.mesh(<tag>).feature(<ftag>).getDouble(property);
String s = model.mesh(<tag>).feature(<ftag>).getString(property);
double[] da = model.mesh(<mtag>).feature(<ftag>).getDoubleArray(property);
String[] sa = model.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().