Hello everyone,
I prepare a dynamo script (see attached snip), now I covert the following script into Python. Its take to much time for run, that’s why I need Python script.
Suggest me to covert from Dynamo to Python step by step.
If anyone have other idea to cut the process and get the same results also share.
I’ve converted dynamo into python a few times now and I basically sketch out (on paper) what i’m trying to do and if it’s exactly the same as the dynamo. You may want to add a few loops so work out where they want to go.
Then work out what your variables are and what lists you want…
Split the code into chunks - these can be your functions.
Test each function as you go along so you know you’ve got working ones and you’re not left with a total mess at the end.
Because you’re using a python block inside dynamo you can call the dynamo functions in python so it makes your life super easy.