Editing a Geometry Feature
To change a property value in a feature, enter
model.component(<ctag>).geom(<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 type of the property:
double d = model.component(<ctag>).geom(<tag>).feature(<ftag>).getDouble(property);
String s = model.component(<ctag>).geom(<tag>).feature(<ftag>).getString(property);
double[] da = model.component(<ctag>).geom(<tag>).feature(<ftag>).
getDoubleArray(property);
String[] sa = model.component(<ctag>).geom(<tag>).feature(<ftag>).
getStringArray(property);
double[][] dm = model.component(<ctag>).geom(<tag>).feature(<ftag>).
getDoubleMatrix(property);
String[][] sm = model.component(<ctag>).geom(<tag>).feature(<ftag>).
getStringMatrix(property);
If you request a numerical value for a string property, it is evaluated using the current values of the parameters in model.param().
Selections
There are primitive features and operation features. Operations features take existing geometry objects as input and create new geometry objects from them. The input objects are usually specified in the input selection:
model.component(<ctag>).geom(<tag>).feature(<ftag>).selection("input").
   set(inputObjects);
where inputObjects is a string array with object or feature names. If inputObjects contains a feature name, it refers to all objects generated by this feature. If you have defined a named selection of objects, you can refer to it using the named method (see Selection Features below).
Usually, the input objects of an operation feature is removed when building the feature. To change this behavior, a property keep is available for many operations features. If keep is set to on, the input objects are kept when building the feature.
Attributes
Attributes are string values that can be assigned to geometric entities or geometry objects. The available attributes are described in Geometry Attribute Methods. To set an attribute on all resulting objects of a feature, enter
model.component(<ctag>).geom(<tag>).feature(<ftag>).setAttribute(<attribute>,<value>);
To get the attribute value set in a feature, enter
String value = model.component(<ctag>).geom(<tag>).feature(<ftag>).
   getAttribute(<attribute>);
For a work plane, you can in addition set and get attributes on the 2D features in the Plane Geometry sequence as follows, for example:
model.component("comp1").geom("geom1").feature("wp1").geom().feature("r1").   setAttribute("construction", "on");
String value = model.component("comp1").geom("geom1").feature("wp1").geom().   feature("r1").getAttribute("construction");