NXOpen.UF.Ui.AskStringInput

Ui.AskStringInput()

Refer to UF_UI_ask_string_input for documentation.

Signature: AskStringInput(cue, str)

Parameters:
  • cue (str) – Menu title (displayed on the cue line, maximum of 80 characters.
  • str (list of str) – On input the default value of the string, on output the string typed in. This should be declared as char str[133] in the calling program.
Returns:

A Tuple

Return type:

A tuple consisting of (str,length,int)

str(list of str): Modified value of str

length(int): The length of the returned string in ca2.

retVar(int): 1 = Back2 = Cancel3 = OK (Accept default )5 = Data entered8 = Disallowed state, unable to bring up dialogSee Also:History:

License requirements: None