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
    • Login

    NormalTag GetDataAddressW

    SDK Help
    0
    5
    805
    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 12/09/2010 at 11:58, xxxxxxxx wrote:

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

      ---------
      What does NormalTag.GetDataAddressW() return? The docs say it returns a NormalHandle, but this doesn't seem to be documented anywhere. Am I right in thinking this is a pointer to an array of NormalStructs?

      Thanks,

      Steve

      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 12/09/2010 at 16:23, xxxxxxxx wrote:

        https://plugincafe.maxon.net/topic/5153/5138_normal-tag

        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 12/09/2010 at 19:05, xxxxxxxx wrote:

          Starting with R12 this really is an opaque handle than must not be casted into anything. The normal tag has the members Get/Set/Copy to access the data.

          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 13/09/2010 at 00:30, xxxxxxxx wrote:

            Example from the SDK documentation (NormalTag::Get) :

              
            const NormalHandle dataptr = normaltag->GetDataAddressR();  
              
            for (LONG i=0; i<cnt; i++)  
            {  
              NormalStruct res;  
              NormalTag::Get(dataptr, i, res);  
              
              //do something with res  
            }  
            

            cheers,
            Matthias

            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 13/09/2010 at 03:01, xxxxxxxx wrote:

              Got it, thanks. Not sure how I missed that in the docs; must have been tired yesterday after all weekend spent recompiling things 😞

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