NXOpen.UF.Clear.AskObjList

Clear.AskObjList()

Refer to UF_CLEAR_ask_obj_list for documentation.

Deprecated since version NX9.0: Please use following Assemblies::ClearanceAnalysisBuilder’s properties instead: ClearanceBetween TotalCollectionCount CollectionOne(Two)Range CollectionOne(Two)Objects

Signature: AskObjList(dataset, whichList)

Parameters:
  • dataset (Tag) – The dataset tag.
  • whichList (int) – Is this for list 1 or list 2? Acceptable values are 1 and 2.
Returns:

A Tuple

Return type:

A tuple consisting of (listType,listSize,tagArray)

listType(int): The type of list (UF_CLEAR_ALL_OBJECTS, UF_CLEAR_ALL_VISIBLE_OBJECTS, UF_CLEAR_ALL_BUT, UF_CLEAR_FIXED_LIST, or UF_CLEAR_LIST2_NOT_USED).

listSize(int): The number of objects in list.

tagArray(list of Tag): The pointer to an array of objects (solids or facets) on the list. This should be freed by calling UF_free.

License requirements: None