View Full Version : python function in expression

09 September 2010, 09:08 PM
using python function in expression editor decreases maya playbackspeed, even with basic computation. for example;

import maya.cmds as arf

def durdur():
arf.setParticleAttr(slPrt, at='velocity', vv=(0,0,0))

and in expression editor

well it works but very slowly. am i doing something wrong? my particles connected to gravity all of them fall down except selected ones. but selected particles also going down with small amount of distance. like 0,5 unit. solution must be very easy :rolleyes:

CGTalk Moderation
09 September 2010, 09:08 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.