mymesh.tree.TreeNode.clearData#

TreeNode.clearData(clearChildren=True)[source]#

Reset the data attribute for this node, and optionally all children

Parameters:

clearChildren (bool, optional) – If True, data from child nodes will be recursively cleared, by default True