THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/07/2007 at 02:36, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.5 - 10
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
i'm working on an object plugin using OBJECT_GENERATOR|OBJECT_INPUT and i need to check if the input object is a spline.
All is fine until a vectorizer object is used (cinema crashes), there is no need of using it so i want to keep it out.
But the object type of vectorizer seems not to be listed in the SDK, what type is it?
Do i run into problems using the hardcoded object type (5189) the console does return?
if (!obj || obj->IsInstanceOf(5189)) return NULL;
if (obj->GetInfo() & OBJECT_SPLINE) //# >9.1 OBJECT_ISSPLINE
{do something}
Thanks,
vrom