Selection (Plot Attribute)
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 attributes 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 and streamline multislice plots, surface plots, and volume plots.
The following properties are available with Selection attributes for applicable 3D plots using a Revolve2D dataset:
Table 7-131:
Valid Property/Value Pairs for Selection Attributes to Plots Using a Revolve2D Dataset.
Name
Value
Default
Description
evalmantle
true
|
false
true
Evaluate and plot on the revolved geometry’s mantle.
evalstartcap
true
|
false
true
Evaluate and plot on the revolved geometry’s start cap (at the start angle for the revolution).
evalendcap
true
|
false
true
Evaluate and plot on the revolved geometry’s end cap (at the ending angle for the revolution).