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

    questions about GetDDescription [SOLVED]

    SDK Help
    0
    19
    1.3k
    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

      On 05/11/2014 at 14:25, xxxxxxxx wrote:

      Hi Andreas,

      I have checked it!! , it is a very interesting example 👏 , this is really very helpful, thanks again for your support, keep the good work up

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 06/11/2014 at 02:13, xxxxxxxx wrote:

        just need to confirm about question ( 1-a , 1-b ) , I use this if statement in all created description, or no need at all? need some discussion about what happens here

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 06/11/2014 at 02:17, xxxxxxxx wrote:

          Can you show me a piece of your code? Will make discussion easier.

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            On 06/11/2014 at 03:00, xxxxxxxx wrote:

            it is the example LookAtCamera ,  LookAtCamera::GetDDescription(), all of the written description are created the same way with a check for performance, need to understand how this works, if there is no specific explanation , is it safe to do the same with all created description? (so I just write them the same way and forget about them) , or this is written in specific situations

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              On 06/11/2014 at 03:43, xxxxxxxx wrote:

              You mean the

              if (!singleid ||...
              

              part?
              Yes, you should do it exactly like it is done in the lookatcamera example. As Niklas said, it's a performance optimization, in case C4D is asking for a single description only.

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                On 06/11/2014 at 04:13, xxxxxxxx wrote:

                yes
                ok thanks 🙂

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  On 17/11/2014 at 10:01, xxxxxxxx wrote:

                  sorry for asking again, but I found that I didn't know yet how to adjust the format of data "question (2)" , the above link that I posted was for Dialogs, didn't notice this, so hope you may reply with a simple example to question (2)

                  edit:I find that DESC_COLUMNS is doing the job, but what about putting stuff in an irregular way, like:

                  button1    button2    button3
                  button4
                  button5    button6
                  button7

                  edit2: I would love to know how to create something similar to this Dialog http://www.andrewnoske.com/wiki/Cinema_4D_-_my_C%2B%2B_plugins_-_add_text
                  in GetDDescription() , the combo box, the radio group, etc..

                  1 Reply Last reply Reply Quote 0
                  • H
                    Helper
                    last edited by

                    On 17/11/2014 at 12:10, xxxxxxxx wrote:

                    nvm, I find the solution here:
                    https://developers.maxon.net/forum/topic/7380/8990_getting-dynamically-added-long-cycle-string-value&KW=GetDDescription

                    1 Reply Last reply Reply Quote 0
                    • H
                      Helper
                      last edited by

                      On 17/11/2014 at 14:05, xxxxxxxx wrote:

                      Ah, you were too quick. I was just compiling an example for you...
                      Nevertheless glad you found your solution.

                      1 Reply Last reply Reply Quote 0
                      • H
                        Helper
                        last edited by

                        On 11/01/2016 at 05:14, xxxxxxxx wrote:

                        Hi Andreas,

                        as this is related to  ShowPopupMenu()
                        how to put icons in the menu?

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