Hey Guys!
i’ve been stuck for a while at this one…
Is it possible to export a Loop into Excel?
What i, trying to do is to move a element in Revit. For example i move a wall from 0 to 1 by 0.1 steps with a LoopWhile. How can i transfer information from the wall (getparamatervalue) at each Loop-step?
Thanks for the answer, but not exactly what i meant.
My purpose is to move the element through all steps by just 1 click, because i have multiple of them. Then i want Dynamo to list the values at every movement in a excel sheet.
Its still giving me the error quote… i changed the settings to ironpython and the python script node. While doing Dynamo told me, that ironpython is an old version and is no more supported.
Still im trying to do what youre doing but it doesnt seem to work. The wall gets moved so the rest of my script seems to work through.
But the Excel file wont pop out. As you see on the picture i tried changing it from Python3 to IronPython and even used the migration assistant, but non of this helped.
Sure. Here it is. Like i said. Im trying to get a Excel where multiple elements are getting listed with their value for every loop (moving them step by step)
but its not listing all my iterations. As you see in the picture the wall should loop from -0,38 to 0,812 and give me the value for all iterations (+0,1 steps) back in Excel.
im getting just one value in excel.
what youre saying is, i need to get all the form all the nodes and connection the python script and put it in the ,PythonScript" node as well . so the only nodes left will be listed elements which will be putted in the ,PythonScript" node?
Exacty. Everythin you do with nodes is possible to do in python scripts with the revit api. Just like I recreated the export to excel node in this python script.
There is a crash course on python nodes in dynamo:
Hey,
so i used the node to code function to translate my nodes and connections to a python script and got this huge code. For some reason it does not translate the selected elements into python code.
My question is:
How can i use the code so the integer sliders will loop through the first, second, third… so every possible statement will loop through. Then i want to connect it with the excel python script so every possibility is put into excel?