Slice
Create a slice plot.
Syntax
model.result(<pgtag>).create(<ftag>,"Slice");
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
model.result(<pgtag>).create(<ftag>,"Slice") creates a slice feature named <ftag> belonging to the plot group <pgtag>.
The following properties are available:
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
colortable | uniform
on | off
Whether to show color legend, when coloring is set to colortable
The color table to use when colormethod is set to colortable. See Color Tables for a list of color tables.
on | off
Whether to reverse to color table when colormethod is set to colortable
on | off
{1,0,0} or last used color.
none | parent | data set name
The description of the expression in expr. Is used in the automatic title.
on | off
on | off
linpoint | harmonic | lintotal | lintotalavg | lintotalrms | lintotalpeak
on | off
threepoint | pointnormal
Active when planetype equals general, this property indicates whether the plane should be specified by three points or through one point and a normal
Number of additional parallel planes. Active when genparaactive equals on and genpara equals number.
gennumber | gendistances
Active when planetype equals general, and genparaactive equals on, this property indicates whether the additional parallel planes should be specify by a number or by a vector of relative distances.
on | off
Active when planetype equals general, this property indicates whether there should be additional parallel planes created.
Active when genmethod equals pointnormal, this property contains the coordinates of the point.
Active when genmethod equals pointnormal, this property contains the normal vector.
Active when genmethod equals threepoint, this property contains the coordinates of the three points, with one row per point.
If inheritplot is not none: Determines if the color is inherited.
If inheritplot is not none: Determines if the deformation scale is inherited.
none | plot name
If inheritplot is not none: Determines if the color and data ranges are inherited.
on | off
Time corresponding to last selected solnum for transient levels.
The time to use, for transient levels. Available when data is not parent and the underlying data is transient.
The index of the solution to use, per level, or interp, but only for transient solutions. Available when data is not parent and the underlying data has multiple solutions.
quick | general
xy | yz | zx
number | coord
Active when planetype equals quick and quickplane equals yz, this property indicates whether the planes should be specified by one or more absolute coordinates along the x-axis, or a number indicating the number of planes to distribute evenly.
The number of planes when quickxmethod is set to number. It can contain a global expression for the number of slices.
number | coord
Active when planetype equals quick and quickplane equals zx, this property indicates whether the planes should be specified by one or more absolute coordinates along the y-axis, or a number indicating the number of planes to distribute evenly.
The number of planes when quickymethod is set to number. It can contain a global expression for the number of slices.
number | coord
Active when planetype equals quick and quickplane equals xy, this property indicates whether the planes should be specified by one or more absolute coordinates along the z-axis, or a number indicating the number of planes to distribute evenly.
The number of planes when quickzmethod is set to number. It can contain a global expression for the number of slices.
on | off
Whether to use the manual color range specified in rangecolormin and rangecolormax. The color range specifies the minimum and maxim value in the plotted colors. Default is the minimum and maximum data values.
on | off
Whether to use the manual data range specified in rangedatamin and rangedatamax. Values outside the data range is not plotted.
off | pprint | ppr
The element refinement to use, if resolution is set to manual. Bear in mind that this is the refinement used for the base data set, so the number of elements in the model can increase radically if the plot uses, for example, a revolve data set.
norefine | coarse | normal | fine | finer | extrafine | custom
If interactive is on: The shift that is applied to the level values.
none | material | internal | everywhere | expression
Smoothing settings. With material, smoothing is done inside material domains With internal, smoothing is done inside geometry domains. With expression, the smoothing is based on the expression in smoothexpr.
The expression to use for smoothing when smooth is set to expression.
The index of the solution to use. Available when data is not parent and the underlying data has multiple solutions.
solnum | solutioninfo
The time to use, for transient problems. Available when data is not parent and the underlying data is transient.
manual | none
Threshold value (0-1), if threshold is set to manual.
on | off
on if t is used to determine time steps, off if solnum is used.
The title to use when titletype is manual.
auto | custom | manual | none
auto if the title contribution should be computed automatically, possibly using the group’s customization. custom if the title contribution should be computed automatically, but customized. manual if the manual title contribution should be used (the title property). none if no title contribution should be used.
on | off
The unit to use for the expression in expr. If the old unit is not valid when the expression changes, the unit property is reset to default.
on | off
Attributes
Deform, Filter
See Also
Volume