NXOpen.UF.Ugmgr.ListPartsInFolder

Ugmgr.ListPartsInFolder()

Refer to UF_UGMGR_list_parts_in_folder for documentation.

Signature: ListPartsInFolder(folder)

Parameters:folder (Tag) – Database tag of the folder whosepart you wish to be listed.
Returns:A Tuple
Return type:A tuple consisting of (count,parts)

count(int): The number of parts in the specified folder.

parts(list of Tag): An array of database tags of type UF_UGMGR_type_part or UF_UGMGR_type_part_revision in the specified folder. This array must be freed after use by calling UF_free().

License requirements: None