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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Documentation error? splineHelp.InitSpline(self, op, up=Vector(0) ) raise an error

    Bugs
    python 2024
    2
    2
    614
    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.
    • J
      JACK0319
      last edited by

      Hi,

      https://developers.maxon.net/docs/py/2024_3_0/modules/c4d.utils/SplineHelp/index.html#SplineHelp.InitSpline
      SplineHelp.InitSpline(self, op, up=Vector(0)) in the documentation raise an error,
      TypeError: 'up' is an invalid keyword argument for this function in 2024,
      'upvector' seems to be the correct keyword argument.

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @JACK0319
        last edited by

        Hey @JACK0319,

        thank you for reaching out to us and reporting this. You are right, up is incorrect and upvector is the correct keyword. I fixed this and double checked the other keywords for the next upcoming Python documentation release.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • ferdinandF ferdinand moved this topic from Cinema 4D SDK on
        • First post
          Last post