GH_CPython icon indicating copy to clipboard operation
GH_CPython copied to clipboard

output as datatree

Open Alliages opened this issue 7 years ago • 6 comments

i don't know how to output a datatree. Right now i'm using a second python script with the raggedListToDataTree function (https://gist.github.com/notionparallax/5433271) Is there a better way?

Alliages avatar Oct 18 '17 23:10 Alliages

Hi @Alliages, I'm supposed to modify datatree in GH_CPython, I'll start doing it and I'll infrom you as soon as possible, I'll appreciate it if you give me an example. Best regards, Mahmoud.

MahmoudAbdelRahman avatar Oct 19 '17 14:10 MahmoudAbdelRahman

here is an example

error.zip

Alliages avatar Oct 19 '17 16:10 Alliages

Thanks so much, now everything is clear, I'll add this feature as soon as I can . Best regards, Mahmoud

MahmoudAbdelRahman avatar Oct 19 '17 16:10 MahmoudAbdelRahman

How do you work with Lists btw? the output seems to be a string with [] like "[0,1,2,3]"

varoudis avatar Nov 28 '17 15:11 varoudis

@varoudis ,

I have modified it to work with lists, you can check it out via this link: https://github.com/MahmoudAbdelRahman/GH_CPython/blob/master/GH_CPython.zip

Best regards, Mahmoud

MahmoudAbdelRahman avatar Nov 28 '17 21:11 MahmoudAbdelRahman

hi @MahmoudAbdelRahman I haven't been able to output as a datatree either. any indications on this one?

thanks

DambronOlivier avatar Mar 14 '19 17:03 DambronOlivier