Solved Python Cinema4d GeDialog List

hello there!
I writing a C4D script plugin, I want to display my selected materials or objects in a list, I tried c4D. CUSTOMGUI_LISTVIEW, but I don't know how to put the objects in!
I also tried c4d.CUSTOMGUI_INEXCLUDE_LIST, this can be added, but there will be a select icon, I want to remove it, but I can't find the method, can anyone help me? thank you
0c7f5359-81f5-43ca-b503-072f06f629a7-image.png
3ec1f3b0-41d5-40e8-bb8c-f3a6b8d98b41-image.png

The final effect I want to achieve is c4D. CUSTOMGUI_LISTVIEW, which looks better

Hi,

it's not possible for both question, but you can use a TreeView for what you want to do. There is this old thread where you will find information about how to create a TreeView. Of course this is a lot more work to be done, but you will have a lot more possibilities if you want to rename the materials or you can event list all material and the user will have to select them in the treeview.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

Hi,

it's not possible for both question, but you can use a TreeView for what you want to do. There is this old thread where you will find information about how to create a TreeView. Of course this is a lot more work to be done, but you will have a lot more possibilities if you want to rename the materials or you can event list all material and the user will have to select them in the treeview.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

@m_magalhaes thank you

Hello @render_exe,

without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022.

Thank you for your understanding,
Ferdinand

MAXON SDK Specialist
developers.maxon.net