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

    mats used in virt. Hierarchy get flushed

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 275 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 01/07/2009 at 13:25, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.6 - 11 
      Platform:   Windows  ; Mac  ;  
      Language(s) :     C++  ;

      ---------
      Hi,

      is there a way to prevent materials from getting flushed by 'remove unused materials', when they are used in a virtual hierarchy ?

      I have a generator Object with some link fields for textures. If the textures are only in use there (and not applied to a 'real' non-generator object), 'remove unused materials' will remove those mats from the doc..

      do i have to flag those materials myself, when they are used by ma generator ?

      thanks,
      Daniel

      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 03/07/2009 at 07:51, xxxxxxxx wrote:

        The MSG_MULTI_MARKMATERIALS message should help you. This is also important if you want to copy generators with internal materials (also across different documents).

        There is an example in the SDK docu, see the MarkMaterials structure.

        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 04/07/2009 at 09:42, xxxxxxxx wrote:

          thanks for the hint, i will check it out.

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