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.
I don't know where it's defined, but the console tells me it's c4d.ID_BASEOBJECT_GENERATOR_FLAG.
(You are aware that you can drag the label "Enabled" et al. to the Python console to get the access constant? And press Return to get the current value, although that is not shown as constant, at least up to R23...)
So useful console trick!
Hello Viktor Velicko,
welcome to the forum and thank you for reaching out to us. And thank you @Cairyn for providing an answer. There is not much for us to add here, apart from pointing to the console functionality documentation and the Obase documentation.
Since this question is tagged as C++, I'll add the docs link to the dedicated functions that return and set this attribute:
BaseObject::GetDeformMode() and BaseObject::SetDeformMode()