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

    LoadDocument::Copy Objects with Materials

    Scheduled Pinned Locked Moved SDK Help
    1 Posts 0 Posters 155 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/2007 at 14:45, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi,
      I am pasting from a LoadDocument() into my main doc.
      all the objects I copy inster without materials, after that i copy material by material into the scene. the texture links are fine as soon as I insert the materials.
      but now i get multible copys of the same material, is there a easyer way to copy objects from one doc to another, but using the existing materials.
      kind of like you would copy and paste manualy in C4D, if you insert the object, materials will be inserted, if there is already a copy of material in the destination document it will use that instead of inserting another one.
      also I get a memory leak, the document does not free up its memory.
      thanks,
      -jay

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