NXOpen.UF.Ui.SelectConehead

Ui.SelectConehead()

Refer to UF_UI_select_conehead for documentation.

Signature: SelectConehead(message, num, origins, directions, labels, attributes, selectionPoint, displayConeheads)

Parameters:
  • message (str) – The cue line message. (80 character maximum)
  • num (int) – The number of coneheads to display.
  • origins (list of float) – An array of conehead origin points. Contains num*3 entries.
  • directions (list of float) – An array of conehead directions. Contains num*3 entries.
  • labels (list of str) – An array of pointers to character string labels to be placed on the coneheads. If no labels are desired this may be passed as NULL. Individual entries may also be set to NULL. Contains num entries.
  • attributes (list of NXOpen.UF.Disp.ConeheadAttrbSTag Refer to UF_DISP_conehead_attrb_s_tag for documentation.) – An array of conehead attribute structures If this is set to NULL, the current conehead attributes are used for all the coneheads. For a description of this structure and how to set the current conehead attributes see UF_DISP_set_conehead_attrb. Contains num entries.
  • selectionPoint (float) – Determines where the selection points are on the coneheads. This is given as a fraction of the total conehead length, 0.0 to 1.0.
  • displayConeheads (int) – Which coneheads will remain displayed on return: UF_UI_DISP_NONE UF_UI_DISP_SELECTED UF_UI_DISP_ALL
Returns:

A Tuple

Return type:

A tuple consisting of (selectedNum,response)

selectedNum(int): The conehead that was selected. 1 to num. Only valid if response = UF_UI_OK.

response(int): Indication of the users response: UF_UI_OK UF_UI_BACK UF_UI_CANCEL

License requirements: None