Hidden UserData? [SOLVED]
-
On 30/01/2017 at 21:12, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R17
Platform:
Language(s) :---------
Hi,guys.I have a question:
Sometimes there are a lot of UserDatas in Manage User Data,so I want to hide some of them,is it possible to do it?
Thanks so much for any help!
-
On 31/01/2017 at 08:27, xxxxxxxx wrote:
Hi Kjya2008, thanks for writing us.
Currently in the provided SDK there are no means to hide (or unhide) UserData items in the "Manage UserData" window.
Best, Riccardo
-
On 01/02/2017 at 18:33, xxxxxxxx wrote:
Hi,knickknack,
Thanks!
-
On 02/02/2017 at 08:33, xxxxxxxx wrote:
You can hide/unhide UserData with DESC_HIDE.
# Hides/Shows the UserData parameter with ID 1 of the currently selected object. import c4d for did, bc in op.GetUserDataContainer() : if did[1].id == 1: bc[c4d.DESC_HIDE] = not bc[c4d.DESC_HIDE] op.SetUserDataContainer(did, bc) c4d.EventAdd()
Cheers,
Niklas -
On 03/02/2017 at 02:02, xxxxxxxx wrote:
Hi Niklas, thanks for providing this additional information.
Unfortunately the snippet is not actually influencing visibility in the Manage UserData dialog but has only impact in the Attribute Manager UserData visibility.
For further information on Visibility I invite Kyja2008 to have a look at the Visibility section in the Description Settings Manual where most of them are actually describedCheers, Riccardo.
-
On 03/02/2017 at 20:02, xxxxxxxx wrote:
Ah, I misunderstood the question.