Linkbox for several objects

On 09/03/2013 at 11:55, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R14 
Platform:   Windows  ;   
Language(s) :       PYTHON  ;

Hey everyone,

First of all i'm new to making plugins for c4d with python. The Documentation and everything in general is still pretty confusing. I'm scripting with python and i just can't figure out how to solve the following:

I would like to create a LINKBOX that can hold an unlimited amount of objects (like effectorlists can). I was unfortunatly unable to find out how to do that in the c4d python documentation in de GUI chapter (Or in any other one).

Help is much appreciated! :slightly_smiling_face:



On 09/03/2013 at 12:27, xxxxxxxx wrote:

Not sure about Python, but in C++ you would use an In_Exclude List Description.

On 09/03/2013 at 12:34, xxxxxxxx wrote:

Hi Amedo,

the InExcludeData is the internal representation of the INEXCLUDE description element.


On 09/03/2013 at 12:37, xxxxxxxx wrote:

Thanks so much! It's hard to find something when you don't even know what it's called! And man those answers came fast - Love the forum ;)

On 09/03/2013 at 12:53, xxxxxxxx wrote:

Hey guys,

I found out how to work with Inexclude, and i looked through the documentation again, but under the

module - c4d.gui
gui and interaction
in the c4d python documentation I wasn't able to find out anything about how to actually get the inexclude list to appear in the object properties, so that the user can actually drag and drop elements into it. I only find the already mentioned linkbox and how to make editable splines and gradients etc.



On 09/03/2013 at 13:12, xxxxxxxx wrote:

you'll find it under c4d.CustomDataType.InExcludeData - the main c4d page in the 
sdk documentation.

On 11/03/2013 at 09:04, xxxxxxxx wrote:

Thanks for your help, i finally figured it out ^^

I didn't mention that i'm using a .res file to create the dialog. I was unable to find any documentation on how to get IN_EXCLUDE into the UI. But I finally found it in the c++ docs...