DESC_HIDE



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

    On 20/01/2003 at 05:09, xxxxxxxx wrote:

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

    ---------
    Hi,
    how can I hide a description element? I can´t make it work :
    Thanks
    Samir



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

    On 20/01/2003 at 12:12, xxxxxxxx wrote:

    And additionally is there something like LayoutFlushGroup and LayoutChanged for description elements?
    the description resource part in the docs is too less IMO...would be fine if this could be expanded. Not only description examples but also some code examples would be very helpful and would save a lot of time. (especially for the description resources are completely new)
    Thanks in advance
    Samir



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

    On 28/01/2003 at 01:24, xxxxxxxx wrote:

    So, anybody knows ANYTHING?
    Thanks



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

    On 28/01/2003 at 11:51, xxxxxxxx wrote:

    Have you tried setting DESC_HIDE to TRUE in the container of the description element?
    There's no direct way to flush the descriptions, but you'll find that GetDescription() is called pretty often. (Perhaps such a call can be forced by adding an event.)



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

    On 28/01/2003 at 12:03, xxxxxxxx wrote:

    Have you tried setting DESC_HIDE to TRUE in the container of the description element?
    ---------------------
    sorry, but that´s my problem. I have no clue how to do that. I tried several ways but am totally confused. where to set TRUE?
    Thanks
    Samir



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

    On 29/01/2003 at 14:30, xxxxxxxx wrote:

    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);  
        }
    


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

    On 30/01/2003 at 12:29, xxxxxxxx wrote:

    Ah I see. thanks very much for the code help.
    Best
    Samir


Log in to reply