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

    Initializing a Spline Grid on my tag plugin

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 352 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 18/03/2014 at 14:41, xxxxxxxx wrote:

      Hey Everyone
      I have the following code but it doesn't seem to initialize the spline grid for my tag plugin

      spline_default = c4d.SplineData()
            print spline_default
            if spline_default.MakeLinearSplineBezier(2) :
                print "Spline Working"
            bc.SetData(MOVEMENT_SPLINE_Y,spline_default)

      I am positive that I'm doing something wrong but I need a little direction.
      Thanks plugin cafe!

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

        On 18/03/2014 at 16:36, xxxxxxxx wrote:

        I have a very simple python splineGUI tag example on my site that might help you get started.
        It's the one named "R13 SplineGUI".

        https://sites.google.com/site/scottayersmedia/plugins

        -ScottA

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

          On 19/03/2014 at 09:41, xxxxxxxx wrote:

          Scott,
          That is exactly what I need, thank you.  I actually ditched my code and used yours as a shell, is that ok?  I will give you credit if you'd like?
          Jimmy

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

            On 19/03/2014 at 11:36, xxxxxxxx wrote:

            Glad to help.
            No need for credits. Most of what I know is learned from other peple too.

            -ScottA

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