Hidden/ supressed file specific properties

Hello,

I have been strugling with an issue for the past few days, and I think I might have overlooked the solution at some point.

I'm trying to do a myCADTools conditional property that would contain the state of the part/assembly in the condition ( visible or supressed ) .

In order to do the formulation of the condition i need to call in a property that reacts to the state of the part/assembly.

Does anyone have some pointers on how to execute this?

Thank you in advance for your help!

SolidworksApi/macros