Hello,
I want to set the visibility according to whether or not a layer has objects.
I am finding IsUsed to be unreliable. For example, if SHOWLAYERUSAGE=0, IsUsed seems to be of no use and if SHOWLAYERUSAGE=1, new objects don't seem to immediately cause IsUsed to be updated.
Is there an alternative to IsUsed to determine if a layer has objects?
Thanks