Python data trees

Hello, I’ve been trying to clear the data tree for about 2 days now, just flatten or whatever, but nothing works :no_mouth: I’ve already tried everything, even GH_Convert ((

This method clears:
https://developer.rhino3d.com/wip/api/grasshopper/html/M_Grasshopper_DataTree_1_Clear.htm

This one flattens:
https://developer.rhino3d.com/wip/api/grasshopper/html/M_Grasshopper_DataTree_1_Flatten.htm

Remember to upload what you’ve tried, if people are to help:
https://discourse.mcneel.com/t/how-to-ask-effective-questions

2 Likes