HyperNURBSObject prob

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

On 05/07/2004 at 01:57, xxxxxxxx wrote:

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

---------
Hi,
Very annoying problem.
when I try to check if an object is a HyperNURBSObject, using GetType(), nothing happens, unless I use ID numbers instead..... e.g.
if (main_obj->GetType() == HyperNURBSObject ) println("hypernurbs");
The above does not work, but ...
println (main_obj->GetType() ) ; // gives the answer 1007455 for a hypernurbs object,  SO...is the following CORRECT ?
if (main_obj->GetType() == 1007455 ) println("hypernurbs");
or is the number 1007455 also used for other objects????
 
please help, as my hair is falling out!

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

On 05/07/2004 at 16:23, xxxxxxxx wrote:

Ahhh! It`s ok.
I have found another way of doing what I am after.........

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

On 07/07/2004 at 20:27, xxxxxxxx wrote:

Just for the record, obj->GetType() returns the integer ID while getclass(obj) would return the actual class (HyperNURBSObject).

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

On 09/07/2004 at 01:21, xxxxxxxx wrote:

Thanks a lot for the info,    (I`ve been offline for a few days).....