THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/08/2009 at 11:27, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R11
Platform: Windows ;
Language(s) : C++ ;
---------
I know this has been asked several times, and I've searched the forum for explanations, but I'm still confused. It's so easy in COFFEE but how to do it in C++?
Specifically, I want to determine if an object in the scene is a point object. According to the SDK, I should be able to do:
if(obj->GetInfo() & OBJECT_POINTOBJECT) ...
but it won't compile, in that OBJECT_POINTOBJECT is undefined. Where in the API is this (and the other OBJECT_ constants) defined? I can't find them anywhere. Or am I misinterpreting the SDK (more than likely!)?
Thanks,
Steve