On 30/01/2017 at 21:12, xxxxxxxx wrote:
Cinema 4D Version: R17
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.
On 01/02/2017 at 18:33, xxxxxxxx wrote:
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.
for did, bc in op.GetUserDataContainer() :
if did.id == 1:
bc[c4d.DESC_HIDE] = not bc[c4d.DESC_HIDE]
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 described
On 03/02/2017 at 20:02, xxxxxxxx wrote:
Ah, I misunderstood the question.