NXOpen.UF.Kf.AskValueOfListItem

Kf.AskValueOfListItem()

Refer to UF_KF_ask_value_of_list_item for documentation.

Signature: AskValueOfListItem(listObj, listIndex)

Parameters:
  • listObj (PointerWrapper) – List value
  • listIndex (int) – Index of item in the list.(1 is the first item)
Returns:

A Tuple

Return type:

A tuple consisting of (valueStr,datatype,subListObj)

valueStr(str): Text of item’s value.Fre e with UF_free.

datatype(str): Data type of item.Free with UF_free

subListObj(PointerWrapper): If this item is a list value, thenthis parameter contains the list value. If this item is not a list value, then this parameter will be NULL. Free with UF_KF_free_rule_value.

License requirements: None