[RF]realflow python script ....."else and If"
realflow python script
#--------------------------------------------------
# Function: onSimulationFrame
#--------------------------------------------------
def onSimulationFrame():
frame = scene.getCurrentFrame()
#scene.message('hello::'+str(frameStr))
if ( frame > 3):
scene.message('hello')
else:
scene.message( 'done')
pass
#--------------------------------------------------
# Function: onSimulationFrame
#--------------------------------------------------
def onSimulationFrame():
frame = scene.getCurrentFrame()
#scene.message('hello::'+str(frameStr))
if ( frame > 3):
scene.message('hello')
else:
scene.message( 'done')
pass
0 コメント:
コメントを投稿