ShowDesignPoints#

class ansys.geometry.core.plotting.widgets.show_design_point.ShowDesignPoints(plotter_helper: PlotterHelper)#

Bases: ansys.geometry.core.plotting.widgets.widget.PlotterWidget

Provides the a button to hide/show DesignPoint objects in the plotter.

Parameters:
plotter_helperPlotterHelper

Provides the plotter to add the button to.

Overview#

callback

Remove or add the DesignPoint actors upon click.

update

Define the configuration and representation of the button widget button.

Import detail#

from ansys.geometry.core.plotting.widgets.show_design_point import ShowDesignPoints

Method detail#

ShowDesignPoints.callback(state: bool) None#

Remove or add the DesignPoint actors upon click.

Parameters:
statebool

State of the button, which is inherited from PyVista. The value is True if the button is active.

ShowDesignPoints.update() None#

Define the configuration and representation of the button widget button.