I’ll bet the answer is simple but it’s eluding me
How to I get from top list to bottom using a script?
I’ll bet the answer is simple but it’s eluding me
How to I get from top list to bottom using a script?
You can’t, because the top list will already be evaluated. no such thing as un-call().
![]()
can you please clarify what, exactly, you mean?
This is correct, if what you have is the actual list, rather than the expression used to produce the list. It’s the same list you’d get from
![]()
and the list itself doesn’t know which expression you used to produce it.
If what you have is actually the expression, you can do what @dardoro suggests.
why not use the let block’s variadic functionality?
right. I mean, the OP’s post was really unclear so I am not entirely sure.
@dardoro solution is what I was after - sorry for not being clear.
Just for no apparent reason.
If you’re fine using a different list block, then you can just use an any (unevaluated) variadic input.
My data is in this format
![]()
So z is ALWAYS followed by a square root?
I’ve modified it to evaluate the inputs if they are strings (I guess I should’ve changed the block name too):
Now, @cymplecy, depending on your needs, you can either:
Nice. I tried to do that, but I just couldn’t figure out how to detect strings. I never thought to split an empty ring.
It’s an example of what I’m trying to achieve - the blocks were just picked at random
Follow up question
How to do it other way around - get from bottom to top?
Depending on your desired result, either: