Container question
- 
 THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED On 14/07/2006 at 07:16, xxxxxxxx wrote: User Information: 
 Cinema 4D Version: 9.6
 Platform: Windows ;
 Language(s) : C++ ;--------- 
 Hi.
 I have made the jump to c++ 9.6 from c.o.f.f.e.e. 8.1 .
 Containers are handled very differently....so just a quick question...
 
 If you add your own item to an objects container... **e.g. **** dat- >SetLong(MY_ID, 55);** **.... is that it?** I know it works, but should you do anything else afterwards? Should the object send a message or something? Also, if you add an item to a Basedocuments container, is the above method all that is needed ...?
 thanks for any info....
 Tony.
- 
 THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED On 14/07/2006 at 10:11, xxxxxxxx wrote: If your own item in the BaseContainer causes changes to the object that need to be reflected in the editor (or during render), directly or indirectly, best to send object->Message(MSG_UPDATE); so that the BaseContainer changes are acted upon. Yes, you don't need to do anything else to the BaseContainer if you are using object->GetDataInstance(). Then you are setting values directly to the BaseContainer. If you use object->GetData() instead, you will need to call object->SetData() afterwards in order to store the changes to the 'real' BaseContainer as GetData() only returns a copy - not a pointer to the 'real' BaseContainer. 
- 
 THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED On 14/07/2006 at 10:54, xxxxxxxx wrote: Ah... 
 Some things in the sdk need a simple explanation like that...
 OK thanks a lot mate.