PrincipalLine, PrincipalSurface, PrincipalVolume
Create a principal stress or principal strain plot in volumes, on surfaces, or on lines (edges).
Syntax
model.result(<pgtag>).create(<ftag>,"PrincipalVolume");
model.result(<pgtag>).create(<ftag>,"PrincipalSurface");
model.result(<pgtag>).create(<ftag>,"PrincipalLine");
model.result(<pgtag>).feature(<ftag>).set(property, <value>);
model.result(<pgtag>).feature(<ftag>).run();
Description
  model.result(<pgtag>).create(<ftag>,"PrincipalVolume") create a volume principal stress or principal strain plot named <ftag> belonging to the plot group <pgtag>.
The following properties are available:
normalized | proportional | logarithmic
arrow | cone
number | coord
number | coord
number | coord
custom | black | blue | cyan | gray | green | magenta | red | white | yellow
none | parent | dataset name
If inheritplot is not none: Determines if arrow scale is inherited.
If inheritplot is not none: Determines if the color is inherited.
none | plot name
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.
elements | uniform | uniformani | gausspoints
If uniform, then the arrows are distributed uniformly. If uniformanisotropic, then the arrows are distributed uniformly with weights taken from the weight property. If elements, then arrows are drawn in mesh element centroids. If gausspoints, the arrows are drawn in the Gauss points (with order set by gporder). Available for PrincipalSurface in 3D.
manual | any available principal strain data
The data used for the principal strain plot. If set to manual, specify principal values and directions. The data is referred to using the physics interface and an integer: solid_1, for example, is the first available principal strain data from a Solid Mechanics interface.
manual | any available principal stress data
The data used for the principal stress plot. If set to manual, specify principal values and directions. The data is referred to using the physics interface and an integer: solid_1, for example, is the first available principal stress data from a Solid Mechanics interface.
cylindrical | cartesian
If scaleactive is true: The length scale factor.
The index of the solution to use. Available when data is not parent and the underlying data has multiple solutions.
solnum | solutioninfo
manual | parent
If data is a local dataset with nontrivial data, specify solutions manually or take them from the parent plot group.
The time to use, for transient problems. Available when data is not parent and the underlying data is transient.
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 | manual | none
auto, if the title contribution should be computed automatically, possibly using the group’s customization. manual, if the manual title should be used (the title property). none, if no title should be displayed.
stress | strain
15 (3D), 7 (2D)
Number of points in the x direction. Active when arrowxmethod is set to number. Available for PrincipalSurface in 2D and PrincipalVolume in 3D.
Absolute coordinates in the x direction, active when arrowxmethod is set to coord. Available for PrincipalSurface in 2D and PrincipalVolume in 3D.
15 (3D), 7 (2D)
Number of points in the y direction. Active when arrowymethod is set to number. Available for PrincipalSurface in 2D and PrincipalVolume in 3D.
Absolute coordinates in the z direction, active when arrowymethod is set to coord. Available for PrincipalSurface in 2D and PrincipalVolume in 3D.
15 (3D), 7 (2D)
Number of points in the z direction. Active when arrowzmethod is set to number. Available for PrincipalVolume in 3D.
Absolute coordinates in the z direction, active when arrowzmethod is set to coord. Available for PrincipalVolume in 3D.
Attributes
Color, Deform, Filter (Plot Attribute), MaterialAppearance, Selection Translation, Transparency (3D only)