Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Writing an Object to HyperFile

    Scheduled Pinned Locked Moved SDK Help
    8 Posts 0 Posters 672 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        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.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          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 🙂

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 16/12/2008 at 06:29, xxxxxxxx wrote:

            I have no idea, I asked the developers.

            cheers,
            Matthias

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              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.

              cheers,
              Matthias

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 18/12/2008 at 04:34, xxxxxxxx wrote:

                Hi Matthias,

                thanks for your response. I create an object:

                > \> 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

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  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.

                  cheers,
                  Matthias

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    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,

                    Shawni

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post