StateCalcPythonScript#

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

Bases: IComponentInfo, ICloneable

Python script Calc objects.

Overview#

calculation_object_arguments

Get the arguments to be applied to the function.

calculation_object_arguments_link_embed

Get the arguments to be applied to the function.

custom_script

Get or set the user-supplied script to be evaluated as Python code.

return_variable

Get or set the name of the Python variable containing the calculated value.

unit_dimension

Get or set the unit dimension.

Import detail#

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

Property detail#

property StateCalcPythonScript.calculation_object_arguments: CalculationObjectCollection#

Get the arguments to be applied to the function.

Get the arguments to be applied to the function.

property StateCalcPythonScript.custom_script: str#

Get or set the user-supplied script to be evaluated as Python code.

property StateCalcPythonScript.return_variable: str#

Get or set the name of the Python variable containing the calculated value.

property StateCalcPythonScript.unit_dimension: str#

Get or set the unit dimension.