I've got a script running, but some lines should stop ad a given frame. Now I found this example script in the Realflow 2015 documentation, but I get this error:
WARNING: Script error: "name 'scene' is not defined" at line number 1.
This is the example script:
if ( ( scene.currentFrame >= 10 ) and ( scene.currentFrame <= 20 ) ):
scene.message( "Current frame in range is: " + str( scene.currentFrame ) )
What did I do wrong?
Discussion about scripting with Python
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests