Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    DESC_HIDE

    SDK Help
    0
    7
    780
    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 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

      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/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

        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 28/01/2003 at 01:24, xxxxxxxx wrote:

          So, anybody knows ANYTHING?
          Thanks

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

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

              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 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);  
                    }
                
                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 30/01/2003 at 12:29, xxxxxxxx wrote:

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

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