Utilizing InExclude for advanced use
-
Hi everyone,
I'd like to build UI where user will be able to put some objects into list, and define parameters related to those objects.
I'm completely new to this, and I can't find any examples of advanced use ofInExclude
.So there will enable/disable checkboxes and some additional flags.
And once an object from the list is selected, I'd like to render UI with properties related to this object. And keep those parameters (within theDescription
I believe)
Similar functionality offered by theFieldList
UI.If there's an example, please point me on it.
Or if not, maybe some rough sample can be shared? -
Maybe this topic can helps.
-
Hi @Dunhou ,
Thanks for it.
Flag-icons seems to be clear now. -
Hi @baca,
advanced use
is a undefined, please provide more information on what are you really struggling to and if there is a part in Cinema 4D that replicate what you consider an `advanced use'.With that's said you can find example of InExcludeData within plugincafe:
- IN_EXCLUDE in Python
- InExclude detect 'Remove All' context menu command
- How to detect click on a item in InExclude list?
So there is plenty of topic regarding InExcludeData.
To display a description, there is the Description CustomGui, and you can find an example bellow:
Cheers,
Maxime. -
Hi @m_adam,
Basically I'd like to build similar functionality, which offered by the
FieldList
UI.
So there will columns with enable/disable checkboxes and some additional flags.However InExclude renders each item in a separate line, so flag icons just rendered where object name ends.
I just assumed fields list view is based on InExclude list.
But it might be not. -
No FieldList and InExclude are two differents custom gui. Sadly it is not possible to build custom description in python. So your only choice would be to create a GeDialog and a GeUserArea that replicate what you want to do. But then you will not be able to display this GeDialog within a description.
Cheers,
Maxime. -
@m_adam good to know, thanks.