model.probe(<tag>).create(<etag>, etype) creates a point probe expression of type
etype and tag
<tag>.
model.probe(<tag>).feature(<etag>).set(eproperty,
<evalue>) sets the property
eproperty on the point probe expression
<etag>.
model.probe(<tag>).feature(<etag>)).getAllowedPropertyValues(property) returns the set of allowed values for a property if the set is a finite set of strings; otherwise, it returns null.
model.probe(<tag>).genResult(String sol) where
sol is a solver sequence tag. This function prepares for using a probe while solving or during postprocessing. The command is invoked automatically when a solver or study is run from the COMSOL Desktop for all active probes but needs to be invoked explicitly when run through the API. The function
genResult(String sol) sets up result features for evaluating the corresponding probe using the solver sequence
sol. If
null is used, the default solver sequence for a solution data set is used. When
sol is
none then the corresponding probe solution data set does not refer to any solver sequence. This means, for example, that the current model is used for selections used for this probe. When a solver sequence is run, then solution to use for the probes is always reset to use the current solver.