Costum foldernode

Hello all,

I would like to create a costum foldernode where I can hide the underlying nodes.
This seems to be possible with the methods isSubtreeHidden() and setSubtreeHidden(boolean)
(Release of URCap SDK 1.12.0, Polyscope 5.10 and 3.15)
I want to use this through a checkbox, but I don’t know how to use these methods.

Is there anyone who has done this before?



I believe these methods are only available for the standard folder node of Polyscope and there would be no available way of programming the collapsing of a URCap node in such a way at the moment.

Alternatively, you could maybe insert a regular folder node as the first child of your URCap node and lock the subtree. You may get the functionality you are looking for.

Thank you for your quick reply. Then I know I don’t have to keep searching on this. I’m going to check out your advice and hope to accomplish it with this.

kind regards,