VolumetricGraphics3DGrid#

class ansys.stk.core.stkobjects.VolumetricGraphics3DGrid#

Class defining grid properties of 3D graphics for volumetric object.

Overview#

show_grid

Show/hide grid in 3D Graphics window.

show_grid_points

Show/hide grid points in 3D Graphics window.

point_size

Set the grid point size. Valid value is between 1 and 20.

point_color

Set the color of the grid points.

show_grid_lines

Show/hide grid lines.

line_color

Set the color of the grid line.

Import detail#

from ansys.stk.core.stkobjects import VolumetricGraphics3DGrid

Property detail#

property VolumetricGraphics3DGrid.show_grid: bool#

Show/hide grid in 3D Graphics window.

property VolumetricGraphics3DGrid.show_grid_points: bool#

Show/hide grid points in 3D Graphics window.

property VolumetricGraphics3DGrid.point_size: float#

Set the grid point size. Valid value is between 1 and 20.

property VolumetricGraphics3DGrid.point_color: Color#

Set the color of the grid points.

property VolumetricGraphics3DGrid.show_grid_lines: bool#

Show/hide grid lines.

property VolumetricGraphics3DGrid.line_color: Color#

Set the color of the grid line.