remove_descendent_paths#
- omni.fabric.commands.scripts.utils.remove_descendent_paths(paths: list[Path])#
 Removes descendant paths from a sorted list of Fabric paths, effectively deduplicating the list by retaining only the highest ancestor paths.
- Parameters:
 paths (list[usdrt.Sdf.Path]) – A list of Fabric paths to filter.
- Returns:
 A list containing the original paths without any descendants.
- Return type:
 list[usdrt.Sdf.Path]