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

    Search Modifyer

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 388 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 06/10/2014 at 14:40, xxxxxxxx wrote:

      I am looking for a way to sort objects in a list based on their polygon count. Is there a way to tell the object manager to sort by poly count?

      My other option is to create a separate window using the c4d.CUSTOMGUI_TREEVIEW command. However documentation does not exist for this. With some extensive Googling I found Pim Groof may possible have a solution but the site is currently down. And I found Niclas over at Github But tying to reverse engineer what he did seems strange due to importing elements from code that is not listed?

      Does anyone have some code they would be willing to share with the community that would be great!

      -Shawn

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

        On 06/10/2014 at 15:49, xxxxxxxx wrote:

        You have to look up the method-names and arguments in the C++ SDK. I've just published the
        code of my Quick Docs plugin which implements the TreeViewFunctions class. Its just another
        example implementation, the tree-view used in  c4dprototyping  does not much different.

        https://github.com/nr-plugins/quick-docs

        Best,
        -Niklas

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

          On 06/10/2014 at 16:55, xxxxxxxx wrote:

          I also have a fairly robust Python tree gui example on my site.

          -ScottA

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