Parameter Visibility



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/03/2003 at 09:51, xxxxxxxx wrote:

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

    ---------
    Is there a way to hide/unhide parameters. I know there is a flag for HIDDEN but it seems it cannot be changed. Any ideas?

    bt



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/03/2003 at 10:50, xxxxxxxx wrote:

    Search the Forum!!!



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/03/2003 at 12:00, xxxxxxxx wrote:

    Quote: Originally posted by 3D Designer on 06 March 2003
    >
    > * * *
    >
    > Search the Forum!!!
    >
    >
    > * * *

    I have searched both topic and message body under 'parameter visibility', 'HIDDEN'. I do not know what else to seed the search with, suggestions?

    bt



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/03/2003 at 12:25, xxxxxxxx wrote:

    Hi,
    I had the same problem some time ago, that´s why I know it´s in the forum! ;) U should have used HIDE instead of HIDDEN but here is the answer Mikael Sterner gave me.

    Here's a dummy GetDDescription() I added to my MSA object. It HIDEs the POSITIONING_FROM_POS element:

       
       
       Bool MSAObject::GetDDescription(GeListNode *node, Description *description,LONG &flags)  
       {  
        if (!description || !node) return FALSE;  
        if (!description->LoadDescription(node->GetType())) return FALSE;
       
       
       
       
        AutoAlloc<AtomArray> ar; if (!ar) return FALSE;  
        ar->Append(static_cast<Atom*>(node));
       
       
       
       
        BaseContainer* bc = description->GetParameterI(DescLevel(POSITIONING_FROM_SP), ar);  
        if (bc)  
        {  
         bc->SetBool(DESC_HIDE, TRUE);  
        }
       
       
       
       
        flags |= DESCFLAGS_DESC_LOADED;
       
       
       
       
        return ObjectData::GetDDescription(node, description, flags);  
       }
    
     
    
    Have a look into the description chapter of the docs. You will find all parameters there
    
    you can use for GetDDescription.
    
     
    
    Best
    
    Samir
    
    
    

Log in to reply