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

    Update Texture references

    Scheduled Pinned Locked Moved SDK Help
    1 Posts 0 Posters 117 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 02/02/2008 at 17:07, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R9-R10.5 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Here's a situation where I can't find an easy method which works.

      BaseDocument::GetAllTextures() is great if you just want a list of the Texture image files referenced in a document. But how does one 'SetAllTextures()', say, to update any references that need changing? Yes, yes, you can get each Material and each Channel and set their Texture references (my current method). But this doesn't consider Shaders and plugin Materials or Shaders.

      Obviously, Cinema 4D itself can know about all of them. Why can't we plugin developers?

      Thanks,

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