THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/02/2012 at 03:29, xxxxxxxx wrote:
hi,
i have got the folloing code :
def PPrimEmit(Num) :
pid = tp.AllocParticles(Num)
for id in pid:
tp.SetVelocity(id,c4d.Vector(0,0,100))
return pid
pid is passed to a TP Particle(TP Particle) output port in the python node which
is plugged into PGroup node TP Particle(TP Particle) port. the console returns :
_
TypeError: could not convert 'list'
_
_
_
so my question is - in which way is TP Particle expecting the particle steam if
not in an int[] of particle ids ?
_
_
_
_