Getting the type of object

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

On 02/05/2003 at 17:47, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:    Mac  ;  
Language(s) :   C.O.F.F.E.E  ;

---------
How can I get the type of an object?
I want to be able to discern what objects I'm working on but, for instance, both Nulls, Lights and old HyperNURBS are interpreted as BaseObject's by instanceof().
Thank you very much in advance.

Rui Batista

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

On 02/05/2003 at 17:49, xxxxxxxx wrote:

By the way, if the answer is with getclass(), where can I find the constants to compare it with?

Rui Batista

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

On 02/05/2003 at 18:36, xxxxxxxx wrote:

Ok, found it. GetType() 🙂

Rui Batista

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

On 09/12/2005 at 02:49, xxxxxxxx wrote:

Thank you to post solution ;