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

    MaterialGroup_IsVisible

    SDK Help
    0
    3
    285
    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 31/03/2004 at 08:18, xxxxxxxx wrote:

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

      ---------Till now I thought, that there is no way to hide materials in the material manager. But I just stumbled over MaterialGroup_IsVisible...well, if its possible to check if a material group is visible, it should be possible to hide it, right? Checking visibility would make no sense, if it would not be possible to be unvisible...or is its implementation "return TRUE;" 🙂

      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 06/04/2004 at 00:34, xxxxxxxx wrote:

        A material can be invisible in the Material Manager if it's in a material group that's not selected. In that case MaterialGroup_IsVisible(mat) returns FALSE. (Note that this is not "[checking] if a material group is visible", it's checking if a particular material is!)

        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 06/04/2004 at 00:41, xxxxxxxx wrote:

          Mhhhh...ok 🙂 Would have been nice if I could hide the complete group. For our project we needed to write our own Material Manager, with alot of extra functionality, the materials organized in a tree, extended preview and so....our problem is that if you open the original material manager, and so some action like deleting a material, we are running into problems to keep our material manager updated, for example if you delete a material, no message is sent....would have been nice if we just could hide the materials managed by us....we will see how we can solve this.

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