THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/04/2006 at 09:11, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R9.5
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
---------
Hi,
this one really gives me a headache, so please help:
Within my PluginTag I'm trying to use the Container-IDs to characterise them, but I cannot store the ID. Using this code:
var testcont = GetContainer();
testcont->SetId(12345);
SetContainer(testcont);
println("ID1: ", testcont->GetId());
println("ID2: ", GetContainer()->GetId());
the output becomes:
ID1: 12345
ID2: -1
So
SetId()
writes the ID to testcont, but it is not saved with
SetContainer(testcont)
, otherwise both outputs should be the same.
Anyone able to help?
Cheers, Juergen