Hi, how do I transform a list of numbers into a list of characters?
I am making a script to rename the project axes automatically, and it worked correctly for the numerical axes(image), but I do not know how to do it for the axes with letters.
Can someone help me?
try this in a code block:
“a”…“d”;
1 Like
I would change your code block to be something as the below, this will make it more adaptive to the number of grids changing.
Note:
- The list.count node will require the output from “Select Grids By Curve” going into it.
- Of course change the number 0.000 to 1 to start at 1.
- If you go over the 26 character limit then you may need to do something a little more complex to create “aa” etc.
1 Like
Sorry for taking so long to answer…
It worked very well, thanks for the tip.
Now how can I reverse the order chosen by the program? This named the numerical axes from bottom to top and I would like top to bottom.
Thank you!
In fact, I already did, it was just inverting the list of grids