8.5 & COFFEE
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/11/2003 at 13:22, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.500
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C.O.F.F.E.E ;---------
8.5 allows you to access BaseLinks in BaseContainer structures.
To use it write:
basecontainer->SetObject(id,object);
and
var result = basecontainer->GetObject(id,document,instanceof);
'instanceof' is an additional inheritance check; the parameter is optional. 'document' is the document that contains the BaseList element (for more information on how BaseLinks work please refer to the C++ docs).
Also available is the function
var ok = object->IsInstanceOf(instanceof);
where 'object' is a BaseList element (object, tag, material etc.) and 'instanceof' is an integer.