Thank you for the speedy response
Can you help me workout where the get_Item and set_Visible live in the api docs? I can’t see a sub category class?
PS I deleted ‘Document doc = DocumentManager.Instance.CurrentDBDocument’
PPS I’m still getting an exception?