TP with Python Generator

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 20/02/2011 at 21:54, xxxxxxxx wrote:

Hi Guys just wanted to know how to modify or creat TPs with the Python Generator.
And also how I could create duch Splines in tgr Viewport, like for example such as the Camera Objecr shows.

Thanks, nux

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 21/02/2011 at 06:28, xxxxxxxx wrote:

Ah I found i out, thanks to trustieee.

  
import c4d  
from c4d.modules import thinkingparticles  
  
tp = doc.GetParticleSystem()  
  
def main() :  
  tp.AllocParticles(40)  
  for i in xrange(40) :  
      tp.SetPosition(i,c4d.Vector(0,i*5,0))