NXOpen.UF.Clear.AskObjAllButList

Clear.AskObjAllButList()

Refer to UF_CLEAR_ask_obj_all_but_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: AskObjAllButList(dataset, whichList)

Parameters:
  • dataset (Tag) – The dataset tag
  • whichList (int) – Determines which list to use: 1 = List 1 2 = List 2
Returns:

A Tuple

Return type:

A tuple consisting of (listSize,tagArray)

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

tagArray(list of Tag): The array of objects (solid or facet) on the list. This should be freed by calling UF_free.

License requirements: None