An alias translator class.
- Note
- Has to be created with Alloc() and destroyed with Free(). Use AutoAlloc to automate the allocation and destruction based on scope.
The alias translator takes care about reconnecting BaseLink links when cloning, copying, reading or writing objects.
Normally Cinema 4D will provide an alias translator when needed, for example in NodeData::CopyTo(). However, to copy objects manually use:
if (!aliastrans || !aliastrans->Init(document))
return false;
if (!dup)
return false;
aliastrans->Translate(true);
Definition: ge_autoptr.h:37
PyObject * op
Definition: object.h:520