Selection
Add a selection attribute to a plot.
Syntax
model.result(<pgtag>).feature(<ftag>).create(<atag>,"Selection");
model.result(<pgtag>).feature(<ftag>).feature(<atag>).selection().set(...);
Description
model.result(<pgtag>).feature(<ftag>).create(<atag>,"Selection") creates a selection attribute named <atag> belonging to the plot feature <ftag>.
Use selections to limit plots to a certain selection of geometric entities such as domains or boundaries.
See model.selection() for more information about selection.
Selection can be added to arrow plots, contour plots, coordinate system plots, isosurface plots, line plots, max/min plots, mesh plots, multislice plots, principal stress plots, slice plots, streamline plots, and volume plots.