tensor#
- class ansys.api.pyensight.ensight_api.tensor(session: Session)#
Class wrapper for EnSight tensor module
This class acts as a proxy for the EnSight Python module ensight.tensor
Methods
Delimit the modifications for tensor parts.
tensor.color_by
(p0)Sets the method by which a tensor glyph part is colored.
Sets the line width (in pixels) that will be used for the compression portion of a tensor glyph if the "tensor: line_width_by" command method is set to "direction".
tensor.compression_rgb
(p0, p1, p2)Sets the color that will be used for the compression portion of a tensor glyph if the "tensor: color_by" command method is set to "direction".
Causes a tensor glyph part to be created according to previously set attributes or defaults.
Specifies whether the compression portion of a tensor glyph will be displayed or not.
Specifies whether the major, middle, or minor eigenvectors of a tensor glyph will be displayed.
Specifies whether the major, middle, or minor eigenvectors of a tensor glyph will be displayed.
Specifies whether the major, middle, or minor eigenvectors of a tensor glyph will be displayed.
Specifies whether the tension portion of a tensor glyph will be displayed.
Delimit the modifications for tensor parts.
Sets the method by which a tensor glyph part's line width is controlled.
Sets the scale factor to be applied to the tensor glyph.
Sets default as the current tensor glyph selection, so subsequent attribute modifications will affect the default.
Sets the line width (in pixels) that will be used for the tension portion of a tensor glyph if the "tensor: line_width_by" command method is set to "direction".
tensor.tension_rgb
(p0, p1, p2)Sets the color that will be used for the tension portion of a tensor glyph if the "tensor: color_by" command method is set to "direction".
tensor.tip_shape
(p0)Sets the shape of the tips on the tensor glyphs
tensor.tip_size
(p0)Sets the size of the tips on the tensor glyphs
Tensor: tip_size_rep
tensor.variable
(p0)Specifies the name of the tensor variable that the tensor glyphs will represent.