Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    TP with Python Generator

    PYTHON Development
    0
    2
    403
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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))  
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post