GetPrimitiveType() returns zero?

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

On 04/02/2003 at 12:09, xxxxxxxx wrote:

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

---------
Seems that op->GetPrimitiveType() is always returning zero, no matter what type of primitive I have assigned this expression to. Anyone else see this?

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

On 04/02/2003 at 13:22, xxxxxxxx wrote:

yes :) This function doesn´t seem to exist anymore in R8.
Just use GetType() to check each object. U will have to check each primitive independantly. There are no "primitivetypes" anymore afaik. But I guess Mikael can explain it more officially :)
GetType() will return an ID you can then use.
Best
Samir