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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    question about containers

    SDK Help
    0
    3
    309
    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
      Helper
      last edited by

      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:

      User Information:
      Cinema 4D Version:   8.100 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hello
      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.

      Regards gfxde

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

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

        On 13/06/2003 at 05:24, xxxxxxxx wrote:

        Hello,
        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.

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

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

          On 13/06/2003 at 08:33, xxxxxxxx wrote:

          THX - I'll try 🙂

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