I’ve been tinkering with writing a script to number piles by their host elements and by pilecaps. I’ve finally been able to make a draft which doesn’t include weird workarounds to determine all the crucial values I need to do the sorting of my elements. Though I did want to keep the option to write all my data to excel in order to resort elements by hand if necessary.
I managed to keep it fairly simple in my opinion, but for some reason the script doesn’t always detect all host elements, and I don’t know why…
A little help is would be very welcome.
 Script_Pilenumbering 13_03_18.dyn (75.0 KB)