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

    Save baseobject references

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 171 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 23/03/2009 at 09:51, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11 
      Platform:   Windows  ;   
      Language(s) :

      ---------
      I need an help on how to save baseobject references during the copyto procedure (and also how to save them in the hyperfile).
      My deformation plugin store a variable number of baseobject ref. taken during the modifyobject procedure (the ref to all deformed objects group).
      The problem is that when cinema start the render (shift + r) the scene is copied, and seems that the olds pointers aren't valid!
      I suppose to need to convert this pointers references in something like a LINKS that didn't change instead, but I don't understand how to do this!
      I hope to be clear, my english is terrible!

      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 24/03/2009 at 15:44, xxxxxxxx wrote:

        Use BaseLinks (LINK description resource), yes. Otherwise, the references you are using are probably only class member pointers which store memory addresses - absolutely useless for copying and saving to disk.

        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 25/03/2009 at 01:58, xxxxxxxx wrote:

          Thank's kuroyume very much.
          I'll try to test it, seems to be the right way!

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