pymel.util.trees.treeFromDict

treeFromDict(arg)
This function will build a tree from the provided dictionnary of child:parent relations :
where each key represent an element and each key value represent the parent of that element, allows to build Trees form cmp(a,b): returns True if a is a direct child of b, False else. All elements must be present in the dictionnary keys, with root elements having None as value/parent

Previous topic

pymel.util.trees.treeFromChildLink

Next topic

pymel.util.trees.treeFromIsChild

Core

Core Modules

Other Modules

This Page