Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    something problem with using TreeViewCustomGui

    Cinema 4D SDK
    python sdk
    2
    3
    443
    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.
    • M
      mogli
      last edited by

      hello guys:
      when i'm using TreeViewCustomGui(python),there is some problem。
      1.CUSTOMGUI_TREEVIEW is empty,this is some ??? showing in the form😵
      35017f41-605a-4d11-bf0f-2d351c056a4e-图片.png
      2.when i use DLG_TYPE_ASYNC, the open form show empty, if i instead of using DLG_TYPE_MODAL it shows normal。
      1b66b372-b69e-47c7-a462-860e50dafd6b-图片.png
      does somewhere i use wrong?

      sorry about the grammar
      best wishes

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @mogli
        last edited by ferdinand

        Hello @mogli,

        welcome to the Plugin Café community and thank you for reaching out to us. You did (almost) everything correctly with your first question, but I would nevertheless recommend having a look at out Forum Guidelines which line out the scope of support and how things do work here. One thing though, it is often best to provide executable example code for a problem.

        About your Problem

        The ??? text is intended an indicates an empty treeview, i.e., when its root contains no items. You are supposed to display here text as for example 'Drag documents into this field'. You can set the text with the method TreeViewFunctions.EmptyText().

        When you continue to run into problems, I would have to ask you to share:

        • Executable code which has been minimized.
        • The version of Cinema 4D you are using.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        M 1 Reply Last reply Reply Quote 0
        • M
          mogli @ferdinand
          last edited by

          @ferdinand thank you very much,it had been solved According to your method,have a good day!

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