NormalTag GetDataAddressW

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

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

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.

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

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 😞