# Ghpythonlib.components flattened tree problem

**URL:** <https://discourse.mcneel.com/t/ghpythonlib-components-flattened-tree-problem/155159>\
**Category:** Grasshopper\
**Tags:** windows, ghpython\
**Created:** [February 20, 2023, 4:44pm UTC](https://discourse.mcneel.com/t/ghpythonlib-components-flattened-tree-problem/155159 "2023-02-20T16:44:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DariaD](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dariad/32/442595_2.png) [@DariaD](https://discourse.mcneel.com/u/DariaD)\
**Post date:** [February 20, 2023, 4:44pm UTC](https://discourse.mcneel.com/t/ghpythonlib-components-flattened-tree-problem/155159/1 "2023-02-20T16:44:31Z")

</div>

Hi,

I’m struggling with ghpythonlib:  
I’m trying to recreate “Point Groups” node in ghpython, but the result I’m getting is a flattened list, though what i actually need is a tree structure… I think I may not know some basic data transfer things there?  
Please help.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/e/2/ae20a45785ba995500526c8dd740a34f99fa00da.png)

[question.gh](https://discourse.mcneel.com/uploads/short-url/rPn8JXtey2YS1EV4tUPMQqdo4TD.gh) (18.9 KB)
