SNOPTControl#

class ansys.stk.core.stkobjects.astrogator.SNOPTControl#

Control parameters for SNOPT optimizer profile.

Overview#

enable

If true, the variable is being used.

name

Get the name of the parameter.

parent_name

Get the name of the segment to which the parameter belongs.

initial_value

Get the nominal value of the element selected as a parameter. Dimension depends on context.

current_value

Get or set the value of the independent variable after the last targeter run.

lower_bound

Dimension depends on context.

upper_bound

Dimension depends on context.

scaling_value

Apply to the Specified Value scaling method. Dimension depends on context.

use_custom_display_unit

If true, allows display of values in another unit.

custom_display_unit

Get or set the unit in which the value will be displayed in the GUI.

Import detail#

from ansys.stk.core.stkobjects.astrogator import SNOPTControl

Property detail#

property SNOPTControl.enable: bool#

If true, the variable is being used.

property SNOPTControl.name: str#

Get the name of the parameter.

property SNOPTControl.parent_name: str#

Get the name of the segment to which the parameter belongs.

property SNOPTControl.initial_value: Any#

Get the nominal value of the element selected as a parameter. Dimension depends on context.

property SNOPTControl.current_value: Any#

Get or set the value of the independent variable after the last targeter run.

property SNOPTControl.lower_bound: Any#

Dimension depends on context.

property SNOPTControl.upper_bound: Any#

Dimension depends on context.

property SNOPTControl.scaling_value: Any#

Apply to the Specified Value scaling method. Dimension depends on context.

property SNOPTControl.use_custom_display_unit: bool#

If true, allows display of values in another unit.

property SNOPTControl.custom_display_unit: str#

Get or set the unit in which the value will be displayed in the GUI.