Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Login

    Create spline with multiple segments

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 256 Views
    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 Offline
      Helper
      last edited by

      On 20/04/2013 at 13:23, xxxxxxxx wrote:

      Hello all, I'm trying to create a linear spline object with multiple segments, this is proving difficult. Creating the spline -fine, setting point locations - fine, setting segments - 😢

      I'm looking at spline.SetSegment() but it seems as the segments need to exist before you can set them. Does anyone know if there is a command to do this. I can think of a workaround which involves creating lot's of splines and connecting them but that seems sloppy and I'd rather not go down that route.

      Any help would be much appreciated.

      Thanks

      Adam

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

        On 20/04/2013 at 13:38, xxxxxxxx wrote:

        `SplineObject.ResizeObject() to the rescue, crisis averte.

        Thanks

        Adam
        `

        1 Reply Last reply Reply Quote 0
        • First post
          Last post