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

    R18 Python Details

    Scheduled Pinned Locked Moved PYTHON Development
    8 Posts 0 Posters 675 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

      On 25/07/2016 at 21:00, xxxxxxxx wrote:

      Any updates on what new little Python bits we will get with R18?

      Kind Regards.

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

        On 26/07/2016 at 09:20, xxxxxxxx wrote:

        Hello,

        Well, R18 actually brings important additions to the Python API, not only little bits 😉

        As part of our ongoing effort to bridge the gap between Python and C++, the R18 Python API now supports:

        • Dynamic descriptions: NodeData.GetDDescription()/GetDParameter()/SetDParameter() and enhanced Description class
        • BodyPaint 3D UV commands: CallUVCommand() and GetActiveUVSet()/FreeActiveUVSet()
        • Texture baking: InitBakeTexture()/BakeTexture()
        • All Custom GUIs: BaseCustomGui class is no longer empty and provides methods (e.g. GetData()/SetData())

        The Python API also adds support for the following new R18 features:

        • MoGraph Weight
        • Substance Engine
        • Object Tracker
        • Quaternion Rotation
        • Vertex Colors
        • Color Swatches
        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 26/07/2016 at 11:28, xxxxxxxx wrote:

          Does that mean that the ListView gizmo works now?
          In the previous versions. We could create an instance of the gizmo. But there was no way to populate it with data.

          -ScottA

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

            On 26/07/2016 at 16:57, xxxxxxxx wrote:

            Cool! Thanks Yannick!

            Congratz with R18!

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

              On 27/07/2016 at 02:26, xxxxxxxx wrote:

              Hi Scott,

              Originally posted by xxxxxxxx

              Does that mean that the ListView gizmo works now?
              In the previous versions. We could create an instance of the gizmo. But there was no way to populate it with data.

              Are you talking about the TreeViewCustomGui? This custom GUI has been working for several releases now but the related TreeViewFunctions class is not documented currently.

              The changes related to custom GUIs have impacts on all custom GUIs, but especially on empty CustomGui classes like the InExcludeCustomGui.
              For instance BaseCustomGui.SetData()/GetData() will be available to set and get a custom GUI data.

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

                On 27/07/2016 at 07:55, xxxxxxxx wrote:

                No. I mean the SimpleListView gizmo.
                https://developers.maxon.net/docs/cpp/2023_2/class_simple_list_view.html

                When I use help on an instance of the class in the console in R13. There are no functions in it like DataChanged() that are required to add the data to the LV gizmo.
                I asked about it a few years ago. And I was told it was not supported in Python yet.
                I've been checking the upgrades since then. But I've never seen any new changes that made this gizmo work in Python.

                -ScottA

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

                  On 28/07/2016 at 02:47, xxxxxxxx wrote:

                  Hi Scott,

                  I'm afraid the SimpleListView gizmo is still not available in Python. It will be added to the list of missing classes in the Python API.

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

                    On 28/07/2016 at 06:56, xxxxxxxx wrote:

                    OK. Thanks.

                    -ScottA

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