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

    GetPointPolys

    SDK Help
    0
    6
    1.2k
    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
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 15/11/2002 at 08:34, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.012 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      When trying to use the GetPointPolys example from the SDK I get an undeclared identifier Error from the compiler. Even the Example Gravitation file doesn´t work.
      Anything wrong in the SDK or just user error?

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 17/11/2002 at 08:34, xxxxxxxx wrote:

        Quote: Originally posted by 3D Designer on 15  November 2002
        >
        > * * *
        >
        > Anything wrong in the SDK or just user error?
        Probably the latter... 😉
        At least your post didn't provide us with any information about the error, so it's hard to know. Could you perhaps post the generated error message? The SDK project compiles fine here, of course.

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 17/11/2002 at 08:39, xxxxxxxx wrote:

          D:\Programme\Maxon\8.012\plugins\cinema4dsdk\source\object\Gravitation.cpp(34) : error C2065: 'GetPointPolys' : undeclared identifier
          Error executing cl.exe.
          Gravitation.obj - 1 error(s), 0 warning(s)
          This is what I get when trying to compile the Gravitation example.

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 17/11/2002 at 08:48, xxxxxxxx wrote:

            Sorry, maybe my fault. In the Gravitation example there is no GetPointPolys. So this is wrong but I just tried to use the SDK Example from the Neighbor Class
            LONG *dadr = NULL, dcnt = 0, i, poly;
             GetPointPolys(1, &dadr, &dcnt);
             
             for (i=0; i<dcnt; i++)
             {
              poly=dadr[i];
              // ... do something...
             }
            and then the error above appears. I guess now I am sure I am doing something wrong.

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 17/11/2002 at 09:13, xxxxxxxx wrote:

              Well I guess it was a doc error. Now I used n.GetPointPolys (pretty logical isn´t it? 🙂 and it of course works now.
              So thanks I got it now. But the docs should be changed there. 🙂
              Best
              Samir

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

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 17/11/2002 at 09:28, xxxxxxxx wrote:

                Thanks for finding this error.

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