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

    Find Material Link???

    SDK Help
    0
    7
    585
    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 13/06/2003 at 13:45, xxxxxxxx wrote:

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

      ---------
      For FlushUnusedTexture() doesn´t work, is there a way to find out if a material is somewhere used in the current scene (applied to an object)?
      Or do I have to go through the complete scenehierarchy and then through all tags of each object and check if the material is linked to the found materialtags? Darn, that wouldn´t be good!
      Thanks so much...

      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 14/06/2003 at 00:52, xxxxxxxx wrote:

        You could try

            
            
            #define MSG_MARK_MATERIALS (4|(1<<30))   
            doc->MultiMessage(MULTIMSG_BROADCAST, MSG_MULTI_MARKMATERIALS, NULL);
        

        and then look at BIT_MATMARK for each material. (For some reason this constant was missing from the R8 SDK, but it seemed to work last time I tested it in 8.1.)

        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 14/06/2003 at 03:21, xxxxxxxx wrote:

          Hey Mikael, thanks, it seems to be working just as expected.
          Great support again, thank you!

          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 20/09/2010 at 02:40, xxxxxxxx wrote:

            excuse me, is there a possibility to achieve same functionality with coffee?

            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 22/09/2010 at 08:05, xxxxxxxx wrote:

              I don´t think so though it´s long time I used coffee.

              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 22/09/2010 at 09:29, xxxxxxxx wrote:

                Currently there is no possibility in COFFEE.

                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 23/09/2010 at 08:45, xxxxxxxx wrote:

                  'cuse me, think I got it noticed ... the awnser is always the same ... but saves a lot of time to just ask then to look for hours through the documentation (even if I know the awnser ... ) will not be asking that much further thank you and please be patient, it really did help at work. thx

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