Hi,
I’m not with Cubase now. But there is something like: If Track Type Equal Folder Track Properties > Hide > Enable.