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

    GetLength compiler error

    Cinema 4D SDK
    c++
    3
    4
    860
    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.
    • E
      ello
      last edited by a_block

      i get this error when trying: Float d = Abs((from - to).GetLength);
      previously i had Float d = Abs(Len(from - to)); which seems to be removed

      "maxon::Vec3maxon::Float64,1::GetLength": Keine Standardsyntax; "&" zum Erstellen eines Verweises auf das Member verwenden

      1 Reply Last reply Reply Quote 0
      • M
        mp5gosu
        last edited by mp5gosu

        You missed the braces (). 🙂
        GetLength -> GetLength()

        E 1 Reply Last reply Reply Quote 2
        • E
          ello @mp5gosu
          last edited by

          @mp5gosu 😄 thank you

          1 Reply Last reply Reply Quote 0
          • a_blockA
            a_block
            last edited by

            Hi,

            while @mp5gosu already provided the answer, I'm just chiming in to mention, that I converted your thread into a question, see Q&A Functionality and also added a tag to this thread, see Read Before Posting.

            Cheers,
            Andreas

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