Python programming debugging help


#1

Hey guys, I need some help debugging this code. It’s supposed to create a turntable (curve and camera) around whatever piece of geometry is currently selected… not sure why it’s not working.

here is my code:

any help would really be appreciate, thank you!


#2

It would be easier to get an answer with a code provided in text format…


#3

You’ve declared lengthX three times instead of declaring x y and z which is what I believe you wanted to do.

Also don’t use path animation that’s baloney, just group a temp camera and rotate the group

Also delete your new nodes after the script has run