On 01/10/2016 at 10:41, xxxxxxxx wrote:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;
Is it possible to select and deselect Description groups via code ?
As if someone clicked them.
I need to do this in MaterialData's GetDDescription.
Thank you for your time.
On 04/10/2016 at 07:43, xxxxxxxx wrote:
I'm afraid, I do not fully understand your request. Sorry!
What do you mean with select and deselect Description groups?
Are you talking about parameter groups with a foldable bar on top?
If so, then it's not possible, see this thread.
On 04/10/2016 at 12:14, xxxxxxxx wrote:
A default C4D material has the following groups visible by default: Basic, Color, Reflectance, Illumination, Editor and Assign.
My MaterialData has 3-4 top groups of parameters (basic, group1, group2, group3).
Nothing is hidden, so the group list shows all 4 of them.
I want to click a button on group 1 and automatically make group1 unselected and group2 selected, as if I simply clicked group2.
I am not referring to collapsible groups such as Layer Color and Layer Mask in Reflectance group of C4D material.
On 05/10/2016 at 10:29, xxxxxxxx wrote:
Ah, I see.
No, this is not possible, either. Sorry.
These states is handled inside of the different dialogs/CustomGUIs, after all you can have multiple views on the same material (Material Editor and multiple Attribute Managers), which all have different states and show different views of the same material.