THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/06/2003 at 23:51, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
I want to store the whole content of a container into a single file.
The coffee sdk says there is a posibility to store a container to a hyper file but how can i write it to my disk?
I figured out how to write a single part of a container to a file but I got problems as soon as types like BaseTime appear.
On 13/06/2003 at 05:24, xxxxxxxx wrote:
HyperFiles cannot be created by yourself. Cinema 4D will create the hyperfiles and destroy the hyperfiles. Have a look at the HyperFile class.
There are Load() and Save() functions for the plugintypes that you will have to use to store your values.
You can then store your container with WriteContainer(bc);
If you want to write the values of the container to a specific type of file it seems you will have to write your own Load and Save function.
Loop through the container ids and use the basefile class for writing and reading operations.
You will need to convert BaseTime values then yourself. Have a look into the BaseTime class for the corresponding functions to get writable values out of the BaseTime class.
On 13/06/2003 at 08:33, xxxxxxxx wrote:
THX - I'll try