Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/12/2008 at 02:27, xxxxxxxx wrote:
User Information: Cinema 4D Version: 11 Platform: Language(s) : C++ ;
--------- Hi!
I wrote a C4DAtom object to an HyperFile (I passed the HyperFile to the method C4DAtom::Write()).
I found the method C4DAtom::Read() which takes some arguments. Does anyone of you has a small example how to read a C4DAtom object from an HyperFile?
I can't get it to run.
Thanks for your help.
On 11/12/2008 at 23:16, xxxxxxxx wrote:
Hi, does anyone of you has a suggestion how to read it?
Season's Greetings, Shawni.
On 16/12/2008 at 06:10, xxxxxxxx wrote:
Is there any plugin developer out there who knows how to read an c4datom object which is stored in an hyperfile? i haven't solved it Would be cool if there is a solution.
Thaaanks a lot
On 16/12/2008 at 06:29, xxxxxxxx wrote:
I have no idea, I asked the developers.
cheers, Matthias
On 17/12/2008 at 11:24, xxxxxxxx wrote:
The Write/Read and WriteObject/ReadObject methods are actually rather private. I still have to wait for a final answer from the developers but if you could tell me what you are trying to achieve I could maybe find an alternative solution.
On 18/12/2008 at 04:34, xxxxxxxx wrote:
Hi Matthias,
thanks for your response. I create an object:
> \> BaseObject \*cube = BaseObject::Alloc(Ocube); \>
\> BaseObject \*cube = BaseObject::Alloc(Ocube); \>
I want to save the BaseObject in the HyperFile. I take BaseObject::Write and pass the HyperFile as an argument.
I can't see if the write process is successful, but the file size changes after the operation.
I want to read the BaseObject from the HyperFile and this is my problem - it does not work.
Bye,
Shawni
On 18/12/2008 at 05:13, xxxxxxxx wrote:
The developers' response was if possible to save the objects as C4D documents rather than hyperfiles. The Write/Read methods are not really meant for plugins.
On 18/12/2008 at 06:42, xxxxxxxx wrote:
Hi, ok. Would be cool if this method is public in future versions. It can be a very good help for my plugin.
bye,