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

    Folded Groups in A.M.?

    SDK Help
    0
    7
    558
    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 13/10/2004 at 21:44, xxxxxxxx wrote:

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

      ---------
      First, this is my first foray into GetDDescription() and PluginObjects (using MorphMixer.cpp as a basis), so be gentle and 'talk to me like I'm a five year old'. 🙂

      In the MorphMixer example, 'objects' are added to the A.M. for the plugin object as sliders (etc.) under GetDDescription(). This is my impression anyway (correct me if I'm wrong).

      What I'd like to do is make foldable groups of 'objects' to make access quicker and more manageable. But how?

      As usual, I'll be reading and testing while waiting for an answer.

      Thanks,
      Robert

      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 14/10/2004 at 14:07, xxxxxxxx wrote:

        Howdy,

        If you have R9 or the R9 demo, the newer version of the "C++ SDK - Look At Camera" expression has a foldable subgroup that was created in GetDDescription().

        I'm sort of diving into that area myself, so I can't offer too much more than that.

        Adios,
        Cactus Dan

        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 14/10/2004 at 14:16, xxxxxxxx wrote:

          Interesting. Hopefully it's not solely workable in R9 as I'm working with 8.5 for the plugin.

          Thanks for the lead! :0)

          Robert

          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 14/10/2004 at 15:28, xxxxxxxx wrote:

            Howdy,

            I just tried an experiment in 8.5 and it seems that all you have to do is make a subgroup with an ID and a name and have another subgroup in that and it automatically works. The experiment I tried was using a description.res file and looks something like this:

            CONTAINER Tmyexpression
            {
               NAME Tmyexpression
               INCLUDE Texpression

            GROUP ID_TAGPROPERTIES
               {
                  DEFAULT 1;

            GROUP SUB_GROUP_ID
                  {
                    DEFAULT 0

            GROUP
                    {
                        REAL ELEMENT_ID { FLAGS }
                    }
                  }
               }
            }

            The DEFAULT 0 just means that it's initially folded.

            Adios,
            Cactus Dan

            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 14/10/2004 at 16:57, xxxxxxxx wrote:

              Making Res items I can do, but this is a set of 'dynamic' groups that will must be done programmtically and are dependent on the file being loaded - the number of morph groups and morph sliders will vary. As far as I can tell, you can't do that like a dialog (darnit).

              Thanks,
              Robert

              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 14/10/2004 at 17:58, xxxxxxxx wrote:

                Howdy,

                Well, actually you can. The last parameter of:
                "Bool SetParameter(const DescID& id, const BaseContainer& param, const DescID& groupid)"

                designates what group it's going in.

                Adios,
                Cactus Dan

                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 14/10/2004 at 19:23, xxxxxxxx wrote:

                  Sort of and that's why I'm glad you pointed me to the new LookatCamera.cpp. Dialogs use GroupBegin(), GroupEnd() which I find much nicer, but this other approach works well enough to get the job done.

                  Now on to the morphs themselves. Know anything about them (especially in relation to Poser)? 😉

                  Robert

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