THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/08/2011 at 13:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform:
Language(s) : C++ ;
---------
Hey guys,
What's the best way to handle the situation where you need to check for a very long list of different types?
BaseObject *obj = doc->GetActiveObject();
if(obj->IsInstanceOf(polygons, All primitives, All spline primitives, cameras, etc..)) ;
Could I maybe use an enum for this and put the enum's name in my expression?
-ScottA