Placing of models under a hiearchy

  1. You can get hierarchy visibility using this function: https://github.com/Slicer/Slicer/blob/master/Libs/MRML/Core/vtkMRMLFolderDisplayNode.h#L90
  2. You can call GetItemParent to traverse parents, see https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Subject_hierarchy
  3. SetItemParent, see https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Manipulate_subject_hierarchy_item
1 Like