So useful console trick!
Stupid question but I am not able to find a way to read the Enabled parameter from Base Objects Attributes panel.
other parameters as ID_BASEOBJECT_VISIBILITY_EDITOR, D_BASEOBJECT_VISIBILITY_RENDER
works fine as listed in obase.h
Enabled parameter is below Visible in Editor & Render in the panel.
But it is not listed in obase.h.