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

    Typo in Python SDK?

    Scheduled Pinned Locked Moved Bugs
    5 Posts 0 Posters 1.0k 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 15/01/2016 at 04:20, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   17 
      Platform:   Windows  ;   
      Language(s) :

      ---------

      I think in the "mode" section under "SendModelingCommand" is a copy and paste error.

      https://developers.maxon.net/docs/py/2023_2/modules/c4d.utils/index.html

      It says

      mode** (int) –
      Modeling mode:

      MODELINGCOMMANDMODE_ALL All points/polygons.
      MODELINGCOMMANDMODE_POINTSELECTION Only the current point selection.
      MODELINGCOMMANDMODE_POLYGONSELECTION Only the polygon point selection.
      MODELINGCOMMANDMODE_EDGESELECTION Only the edge point selection.

      _<_t_>_

      I'm assuming the "point" for polygon and edge selection doesn't belong there? Maybe I'm wrong and I just don't know what an edge point selection is...

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

        On 15/01/2016 at 06:43, xxxxxxxx wrote:

        Hi,

        Thanks for reporting this typo in the Python docs for SendModelingCommand(). This will be fixed.

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

          On 05/02/2016 at 03:32, xxxxxxxx wrote:

          I think I found another typo and I'm just going to leave it here:

          at https://developers.maxon.net/docs/py/2023_2/modules/c4d/CustomDataType/SplineData/index.html#SplineData.GetKnots

          under GetKnots() it says "interpol" is bool, but in setKnot it says int.
          also it seems weird to me, that the SetKnot headline has "interpol=CustomSplineInterpolationBezier" at the end, instead of just "interpol"

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

            On 05/02/2016 at 04:46, xxxxxxxx wrote:

            Hi,

            Originally posted by xxxxxxxx

            under GetKnots() it says "interpol" is bool, but in SetKnot() it says int.

            Yes, interpol is an int, not a bool. This will be fixed.

            Originally posted by xxxxxxxx

            also it seems weird to me, that the SetKnot() headline has "interpol=CustomSplineInterpolationBezier" at the end, instead of just "interpol"

            By default a spline knot interpol attribute is assigned CustomSplineInterpolationBezier.

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

              On 15/02/2016 at 03:12, xxxxxxxx wrote:

              Hello again,

              probably some C++ leftover?:

              in the description for MultiMessage there's mention of  GeListNode.GetBranchInfo() , which does not appear on the GeListNode page.

              and another one:

              for the GetSplineTangent function it says the return is "The spline point.", but I guess it should be "The spline tangent."
              https://developers.maxon.net/docs/py/2023_2/modules/c4d/C4DAtom/GeListNode/BaseList2D/BaseObject/PointObject/SplineObject/index.html#SplineObject.GetSplineTangent

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