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
    • Recent
    • Tags
    • Users
    • Login

    Adding programmatically options

    Scheduled Pinned Locked Moved SDK Help
    6 Posts 0 Posters 492 Views
    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 Offline
      Helper
      last edited by

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

      On 03/11/2011 at 05:06, xxxxxxxx wrote:

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

      ---------
      hi,
      let's say that I have a description for a container item:

      LONG MY_ITEM
      {
               CYCLE
               {
                       OPTION1;
                       OPTION2;
               }
      }

      Now, let's say that instead of the description above, I have only
      LONG MY_ITEM {}

      BUT would like to add the CYCLE options programmatically.

      How can I do this?

      Thank you!

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

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

        On 03/11/2011 at 05:52, xxxxxxxx wrote:

        Haven't ever used it, but the GetDDescription Method (whatever class, I think its the NodeData class) should be what you need.

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

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

          On 03/11/2011 at 07:07, xxxxxxxx wrote:

          But in which way?

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

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

            On 03/11/2011 at 07:52, xxxxxxxx wrote:

            Hi,

            NodeData::GetDDescription() is called to let you add your own parameters to the description of a node (please refer to the documentation for details).
            You can also take a look at the NodeData::GetDDescription() implementation in LookAtCamera example.

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

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

              On 04/11/2011 at 04:50, xxxxxxxx wrote:

              Great, thank you very much!

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

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

                On 01/12/2011 at 10:02, xxxxxxxx wrote:

                So how you solved it? 
                I'm trying something similar

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