NXOpen.UF.Ui.GetInputNumbers¶
-
Ui.
GetInputNumbers
()¶ Refer to UF_UI_get_input_numbers for documentation.
Signature:
GetInputNumbers(cp1, cp2, ip3, ia4, ra5, ip6)
Parameters: - cp1 (str) – Menu title to display 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 integer and double arrays.
- ia4 (list of int) – 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].
- ra5 (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].
- ip6 (list of int) – This is the variable type to use for each menu item. if ip6[n] is 0, then the item is an integer. If ip6[n] is 1, then the item is a double. If an item is marked as an integer, its default value comes from ia4, and its return value is in ia4. If an item is marked as a double, its default value comes from ra5, and its return value is in ra5. This parameter must also be dimensioned as [ip3].
Returns: A Tuple
Return type: A tuple consisting of (ia4,ra5,int)
ia4(list of int): Modified value of ia4
ra5(list of float): Modified value of ra5
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