Starting to dig into python now, as opposed to sticking to just prebuilt nodes in dynamo.
I am trying to utilize the ToXyz revit api function in bigger python script and have pinpointed the problem to a specific part of my code.
Please see my python script below and dynamo input:
When I run this, i get that an error that states index 0 is out of range. This is confusing, as my input values definitely has a value at index 0, so I am not sure why the code is stuck.
Any help is appreciated, I am able to get this python script to work without looping.