Did you change the first line of the script to have the correct camera name? Are there position/rotation keyframes on your camera?
This script will do what you want: obj = $Camera01 — change this to the name of your camera framerange = #() rangeString = “” for j in animationra…
for j in 1 to objects.count do ( if iskindof objects[j] Camera then print (objects[j].name + ” is a Camera”) if iskindof objects[j] Rectangle then p…
obj = selection group obj ungroup obj
If it’s saying “expected <<factor>>”, it means there is a bug in your code. Does your code run fine before you encrypt it?
First of all, you were missing some brackets that were causing an error. Secondly, the “on changed” function requires a variable to be inserted when …
You could try to rename the file within a try/catch function. If the file is open elsewhere, it should generate an error while attempting to rename, n…
Hehe thanks man As I was writing it I wondered if I should try to do a case of statement instead, and then realized I didn’t know the syntax for it …
I think storing objects in arrays would take up too much memory, depending on the number of objects. Why not do it procedurally? Something like this: …
Ah!! Uninstalling Krakatoa did the trick! Thanks
Yep, I should mention that I am using 2009 (64 bit). This is no good
Hey eek, Cheers mate! Yea there’s definitely some some clean-up that could be done…I’m not yet to the point where I fully understand matrix3’s though…
JHN: The not looking correct part is because in the viewport playback sometimes multiple times per frame the controller gets evaluated right, wich i…
Oh oops…that line is redundant…thanks for pointing it out…I’ll remove it