NXOpen.UF.Ui.GetInputDoubles

Ui.GetInputDoubles()

Refer to UF_UI_get_input_doubles for documentation.

Signature: GetInputDoubles(cp1, cp2, ip3, ra4, ip5)

Parameters:
  • cp1 (str) – Menu title displayed on the cue line. This may be a maximum of 80 characters.
  • cp2 (list of str) – This is the array of menu items to display.
  • ip3 (int) – This is the number of items in the menu array, cp2. This is also the size of the double arrays.
  • ra4 (list of float) – On input these are the initial parameter values. On output these are the values as modified by the user. This must be an array dimensioned to [ip3].
  • ip5 (int) – Unused
Returns:

A Tuple

Return type:

A tuple consisting of (ra4,int)

ra4(list of float): Modified value of ra4

retVar(int): 1 = Back2 = Cancel Operation3 = OK - No user input4 = OK with user input8 = Disallowed state, unable to bring up dialogSee Also:History:

License requirements: None