GetDataInstance vs.GetOpContainerInstance

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

On 18/06/2009 at 08:10, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11 
Platform:      
Language(s) :

---------
     Hi!

In NodeData::Init(GeListNode *op) I use the op->GetDataInstance() container to get and set some data. But a GvNode supports GetOpContainerInstance and a lot of examples use this container instead.

Which container has to be used for a GvNode to save stuff in it?

Cheers, Sebastian

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

On 18/06/2009 at 10:27, xxxxxxxx wrote:

The SDK states that for GvNodes you should use the GetOpContainerInstance() (due to the double baselist node state and the internal data). I use it all the time at least.