MaterialGroup_IsVisible



  • 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;" :-)



  • 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!)



  • 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.


Log in to reply