NXOpen.UF.Ugmgr.ListContexts

Ugmgr.ListContexts()

Refer to UF_UGMGR_list_contexts for documentation.

Signature: ListContexts(partType)

Parameters:partType (str) – Type of part.
Returns:A Tuple
Return type:A tuple consisting of (count,contexts)

count(int): Number of contexts in the database.

contexts(list of str): Array of names of all the contexts. The array must be freed after use with UF_free().

License requirements: None