how to get ID_BASEOBJECT_GENERATOR_FLAG

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/09/2012 at 06:29, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   r13 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi there,

i am trying to find out if an object is activated or not. but the following doesnt return what i am after. 
any hints are welcome..

Bool isActive = op->GetDataInstance()->GetBool(ID_BASEOBJECT_GENERATOR_FLAG);
if (isActive==true) 
{
 GePrint("hello");
}

cheers,
ello

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/09/2012 at 07:09, xxxxxxxx wrote:

Bool isActive = op->GetDeformMode();

Works for both deformers and generators.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/09/2012 at 07:38, xxxxxxxx wrote:

thank you.. works like a charme