THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/09/2005 at 09:56, xxxxxxxx wrote:
Cinema 4D Version: 9.1
Platform: Windows ; Mac ;
Language(s) : C++ ;
I am storing a baselink into a basecontainer which I then save into the hyperfile. This is in the Write routine of my object.
But when I try to read the baselink in again from the container in the Read function (all other values are in the container), the link to the baselist2d object is always NULL (the baselink however seems to be there).
BaseList2D* link = bf.GetBaseLink(start++)->GetLink(hf->GetDocument());
Is it not possible or am I doing something wrong?
On 01/09/2005 at 10:36, xxxxxxxx wrote:
I think that is too early, I'm not sure you should be trying to access objects within Read as its very possible they're not even available (not loaded). Why do you need to start accessing them there? How about after the document has finished loading?
On 01/09/2005 at 10:44, xxxxxxxx wrote:
I need to rebuild my nodesystem at that point. Concerning availability of the objects, I have just checked it and you are right, the objects I need are not yet there. Doh!
But after the document has finished loading, which function would be the best to use then?
I also noticed that it´s not possible to write to the objects container during the Write routine (so I cannot store my container that way).
Are there any functions I can use to save and load my settings same as I´d do with Read/Write?
On 01/09/2005 at 10:49, xxxxxxxx wrote:
I just saw the Message MSG_DOCUMENTINFO. Would that be suitable. I assume yes?! Will try that.
thanks so far
On 01/09/2005 at 11:47, xxxxxxxx wrote: